Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.456e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004405/0.00443, allocations: 2.662 MB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.006634, allocations: 1.148 MB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.006794, allocations: 11.94 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.008436, allocations: 0.6065 MB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.008821, allocations: 139 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.01022, allocations: 0.6108 MB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.01069, allocations: 306.4 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.01114, allocations: 235.1 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.01145, allocations: 195.6 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.01168, allocations: 131.7 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.01173, allocations: 24 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.0121, allocations: 183.6 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.01216, allocations: 51.78 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.0123, allocations: 103.8 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007258/0.01303, allocations: 0.5256 MB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01303, allocations: 0 / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01303, allocations: 0 / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.01304, allocations: 0 / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001701/0.01474, allocations: 0.6495 MB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.01477, allocations: 12.03 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.01567, allocations: 168.5 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.01603, allocations: 204.8 kB / 280.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.01606, allocations: 29.03 kB / 280.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.01613, allocations: 32.38 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.01674, allocations: 333.6 kB / 280.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01676, allocations: 192 / 280.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.0168, allocations: 15.94 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01681, allocations: 8 kB / 280.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.01728, allocations: 246.4 kB / 280.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.01927, allocations: 1.052 MB / 281.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.01982, allocations: 246.4 kB / 282.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.01999, allocations: 92.81 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.955e-05/0.02009, allocations: 12 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.02013, allocations: 42.55 kB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.02013, allocations: 0 / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001301/0.02143, allocations: 424.5 kB / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.02148, allocations: 59.41 kB / 282.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.02166, allocations: 167.7 kB / 282.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.02169, allocations: 25.7 kB / 282.9 MB, free: 6.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.02183, allocations: 184.3 kB / 283.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.02192, allocations: 87.23 kB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.02201, allocations: 49.98 kB / 283.2 MB, free: 6.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.0222, allocations: 330.8 kB / 283.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.02233, allocations: 60.55 kB / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.02253, allocations: 140.6 kB / 283.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.02287, allocations: 216.2 kB / 283.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02288, allocations: 0 / 283.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006711/0.02355, allocations: 340.5 kB / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.02356, allocations: 4 kB / 284.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.02357, allocations: 7.938 kB / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003888/0.02396, allocations: 84.77 kB / 284.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.02414, allocations: 51.91 kB / 284.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.02656, allocations: 1.888 MB / 286.3 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.02671, allocations: 27.72 kB / 286.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.02673, allocations: 16.06 kB / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.02689, allocations: 145.8 kB / 286.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.02695, allocations: 23.91 kB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.02756, allocations: 280.2 kB / 286.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.02757, allocations: 8 kB / 286.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.02757, allocations: 4 kB / 286.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.02758, allocations: 7.875 kB / 286.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.0286, allocations: 0.5847 MB / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.0286, allocations: 0 / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.02873, allocations: 27.98 kB / 287.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.02905, allocations: 85.02 kB / 287.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.02907, allocations: 8 kB / 287.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.03132, allocations: 1.895 MB / 289.4 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.03133, allocations: 3.938 kB / 289.4 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.0321, allocations: 448.6 kB / 289.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.03218, allocations: 31.86 kB / 289.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.0322, allocations: 8 kB / 289.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.03233, allocations: 11.94 kB / 289.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.03238, allocations: 24.08 kB / 289.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.03239, allocations: 8 kB / 289.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.0325, allocations: 119.5 kB / 290 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0325, allocations: 3.938 kB / 290 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.03299, allocations: 99.78 kB / 290.1 MB, free: 15.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.03322, allocations: 131.2 kB / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.03387, allocations: 336.1 kB / 290.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.03387, allocations: 0 / 290.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.03426, allocations: 242.8 kB / 290.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.03456, allocations: 23.97 kB / 290.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.03558, allocations: 0.5168 MB / 291.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.03574, allocations: 142.2 kB / 291.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.771e-05/0.03583, allocations: 25.94 kB / 291.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.03588, allocations: 20.48 kB / 291.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03588, allocations: 0 / 291.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.007495/0.04338, allocations: 2.687 MB / 294.2 MB, free: 11.13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.238705976982601]