Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 168.5 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.458e-05, allocations: 5.406 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004526/0.00455, allocations: 2.537 MB / 252.9 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.006772, allocations: 1.122 MB / 254 MB, free: 248 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.006899, allocations: 8 kB / 254 MB, free: 240 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.008621, allocations: 0.6025 MB / 254.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.008957, allocations: 135 kB / 254.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.01041, allocations: 0.5991 MB / 255.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.01086, allocations: 314.4 kB / 255.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.01135, allocations: 243 kB / 255.9 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.01163, allocations: 179.6 kB / 256.1 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.01185, allocations: 123.7 kB / 256.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.01191, allocations: 28 kB / 256.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.01227, allocations: 179.7 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.123e-05/0.01233, allocations: 51.78 kB / 256.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.01246, allocations: 99.75 kB / 256.6 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.01319, allocations: 0.51 MB / 257.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0132, allocations: 0 / 257.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.0132, allocations: 4 kB / 257.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.0132, allocations: 0 / 257.1 MB, free: 13.18 MB / 250.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.001723/0.01493, allocations: 0.6495 MB / 257.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.01497, allocations: 8.031 kB / 257.7 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.0159, allocations: 180.5 kB / 257.9 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.0163, allocations: 198 kB / 258.1 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01633, allocations: 25.03 kB / 258.1 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.0164, allocations: 32.38 kB / 258.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.01702, allocations: 333.6 kB / 258.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01704, allocations: 8.141 kB / 258.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.01708, allocations: 19.94 kB / 258.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.01709, allocations: 8 kB / 258.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.01776, allocations: 242.4 kB / 258.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.01982, allocations: 1.044 MB / 259.8 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.02037, allocations: 234.5 kB / 260 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.02055, allocations: 95.33 kB / 260.1 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.648e-05/0.02062, allocations: 11.98 kB / 260.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.02066, allocations: 34.56 kB / 260.2 MB, free: 9.941 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.02066, allocations: 0 / 260.2 MB, free: 9.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001346/0.022, allocations: 422.2 kB / 260.6 MB, free: 9.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.02206, allocations: 55.41 kB / 260.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.02225, allocations: 162.9 kB / 260.8 MB, free: 9.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.02227, allocations: 25.7 kB / 260.8 MB, free: 9.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.02243, allocations: 196.3 kB / 261 MB, free: 9.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.02252, allocations: 83.23 kB / 261.1 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.02261, allocations: 49.98 kB / 261.1 MB, free: 8.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.02281, allocations: 330.8 kB / 261.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.02295, allocations: 68.53 kB / 261.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.02316, allocations: 132.1 kB / 261.7 MB, free: 8.367 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.0235, allocations: 220.1 kB / 261.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02351, allocations: 0 / 261.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006665/0.02417, allocations: 336.4 kB / 262.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.02419, allocations: 4.219 kB / 262.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.0242, allocations: 11.94 kB / 262.2 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.02462, allocations: 84.67 kB / 262.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.0248, allocations: 47.92 kB / 262.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.02728, allocations: 1.896 MB / 264.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.02743, allocations: 23.78 kB / 264.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.02745, allocations: 12 kB / 264.3 MB, free: 5.613 MB / 250.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.000185/0.02763, allocations: 149.8 kB / 264.4 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.0277, allocations: 27.91 kB / 264.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.02835, allocations: 275.4 kB / 264.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.02835, allocations: 7.938 kB / 264.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02836, allocations: 0 / 264.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02836, allocations: 3.938 kB / 264.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.02944, allocations: 0.5847 MB / 265.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02944, allocations: 3.938 kB / 265.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.02959, allocations: 20 kB / 265.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/0.02993, allocations: 89.02 kB / 265.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.02995, allocations: 4 kB / 265.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.0325, allocations: 1.895 MB / 267.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.03251, allocations: 7.969 kB / 267.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.03329, allocations: 453.7 kB / 267.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.03337, allocations: 31.86 kB / 267.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.0334, allocations: 11.98 kB / 267.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.03352, allocations: 3.938 kB / 267.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.03356, allocations: 19.97 kB / 267.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.03358, allocations: 4 kB / 267.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.0337, allocations: 119.1 kB / 268 MB, free: 1.734 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0337, allocations: 0 / 268 MB, free: 1.734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000506/0.03421, allocations: 103.7 kB / 268.1 MB, free: 1.633 MB / 250.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.0002397/0.03445, allocations: 123.2 kB / 268.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.03513, allocations: 339.5 kB / 268.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.03513, allocations: 0 / 268.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.03552, allocations: 242.3 kB / 268.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.03583, allocations: 16 kB / 268.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.0369, allocations: 0.5104 MB / 269.3 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.03707, allocations: 150.2 kB / 269.4 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.2e-05/0.03716, allocations: 21.62 kB / 269.4 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.03722, allocations: 20.5 kB / 269.5 MB, free: 152 kB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03722, allocations: 3.938 kB / 269.5 MB, free: 148 kB / 250.7 MB Notification: Performance of Templates: time 0.007201/0.04442, allocations: 2.524 MB / 272 MB, free: 13.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.158718378050253]