Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 120.8 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 190.9 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.101, allocations: 52.14 MB / 418.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004174/0.1052, allocations: 2.756 MB / 421.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1066, allocations: 0.8761 MB / 422.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1067, allocations: 11.94 kB / 422.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.107, allocations: 59.5 kB / 422.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.1072, allocations: 103.2 kB / 422.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1075, allocations: 95.81 kB / 422.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.1079, allocations: 362.6 kB / 423.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1081, allocations: 73.7 kB / 423.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.1083, allocations: 143.5 kB / 423.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1085, allocations: 139.4 kB / 423.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1086, allocations: 32 kB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.1086, allocations: 28 kB / 423.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1087, allocations: 67.75 kB / 423.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1088, allocations: 159.2 kB / 423.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1092, allocations: 362.5 kB / 424.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1093, allocations: 0 / 424.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1093, allocations: 7.938 kB / 424.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1093, allocations: 0 / 424.2 MB, free: 6.816 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00104/0.1103, allocations: 0.6039 MB / 424.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1103, allocations: 15.89 kB / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.1104, allocations: 32.75 kB / 424.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1108, allocations: 268.2 kB / 425.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1108, allocations: 20.94 kB / 425.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.1109, allocations: 24.38 kB / 425.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.1114, allocations: 257 kB / 425.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1114, allocations: 0 / 425.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1114, allocations: 16 kB / 425.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1114, allocations: 8 kB / 425.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1119, allocations: 206.1 kB / 425.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1136, allocations: 1.01 MB / 426.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.114, allocations: 186.5 kB / 426.8 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.1143, allocations: 96.81 kB / 426.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1143, allocations: 7.984 kB / 426.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1144, allocations: 38.56 kB / 427 MB, free: 3.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.1144, allocations: 0 / 427 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005326/0.1197, allocations: 1.542 MB / 428.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1197, allocations: 63.2 kB / 428.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.12, allocations: 229 kB / 428.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.12, allocations: 29.7 kB / 428.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1202, allocations: 184.5 kB / 429 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1203, allocations: 130.9 kB / 429.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.1204, allocations: 70.02 kB / 429.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1206, allocations: 342.8 kB / 429.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1208, allocations: 104.7 kB / 429.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1211, allocations: 157.5 kB / 429.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.1217, allocations: 280 kB / 430 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1217, allocations: 0 / 430 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001671/0.1234, allocations: 0.5333 MB / 430.6 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1234, allocations: 4 kB / 430.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1234, allocations: 4 kB / 430.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.1247, allocations: 241.5 kB / 430.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.125, allocations: 55.91 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.1303, allocations: 4.138 MB / 435 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1306, allocations: 11.98 kB / 435 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1306, allocations: 12.23 kB / 435 MB, free: 11.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.1308, allocations: 157.7 kB / 435.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1309, allocations: 23.86 kB / 435.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.131, allocations: 42.95 kB / 435.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.131, allocations: 4 kB / 435.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.131, allocations: 4 kB / 435.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.131, allocations: 3.938 kB / 435.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.1335, allocations: 0.9816 MB / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.1335, allocations: 4 kB / 436.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.1338, allocations: 43.91 kB / 436.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.135, allocations: 245.5 kB / 436.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.135, allocations: 4 kB / 436.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.1403, allocations: 4.13 MB / 440.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.1403, allocations: 7.969 kB / 440.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.1423, allocations: 0.7209 MB / 441.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/0.1424, allocations: 101 kB / 441.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.1425, allocations: 7.938 kB / 441.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1427, allocations: 15.98 kB / 441.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.1428, allocations: 31.89 kB / 441.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1428, allocations: 12 kB / 441.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.143, allocations: 164.8 kB / 441.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.143, allocations: 0 / 441.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006215/0.1436, allocations: 100 kB / 441.8 MB, free: 4.109 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.1438, allocations: 111.2 kB / 441.9 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1449, allocations: 0.5517 MB / 442.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1449, allocations: 0 / 442.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000615/0.1455, allocations: 413.5 kB / 442.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1458, allocations: 26.83 kB / 442.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1472, allocations: 0.7423 MB / 443.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1476, allocations: 0.776 MB / 444.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.1477, allocations: 23.44 kB / 444.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1477, allocations: 0 / 444.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of Templates: time 0.1751/0.3228, allocations: 5.994 MB / 450.5 MB, free: 29.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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: 7.903286438900977]