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.001839/0.001839, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.002122/0.002122, allocations: 158.1 kB / 24.5 MB, free: 3.871 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.435/1.435, allocations: 173.4 MB / 201.1 MB, free: 12.65 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.001566/0.001566, allocations: 43.25 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08737, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004043/0.09141, allocations: 2.588 MB / 374.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09279, allocations: 0.8178 MB / 375 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.09292, allocations: 8 kB / 375 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.09314, allocations: 55.5 kB / 375 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.0934, allocations: 103.2 kB / 375.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.09365, allocations: 95.81 kB / 375.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.09404, allocations: 362.6 kB / 375.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.0942, allocations: 74.88 kB / 375.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.09439, allocations: 135.5 kB / 375.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.09461, allocations: 139.3 kB / 375.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.09466, allocations: 28 kB / 376 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.09471, allocations: 28 kB / 376 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.09478, allocations: 63.77 kB / 376 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.09493, allocations: 131.4 kB / 376.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.09532, allocations: 362.5 kB / 376.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.09533, allocations: 4 kB / 376.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09533, allocations: 4 kB / 376.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.09533, allocations: 3.938 kB / 376.5 MB, free: 2.352 MB / 334.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.0009592/0.09629, allocations: 0.5286 MB / 377.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.09633, allocations: 12.03 kB / 377.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.09639, allocations: 36.75 kB / 377.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.0967, allocations: 198 kB / 377.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.09673, allocations: 21.03 kB / 377.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.09677, allocations: 24.38 kB / 377.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.09728, allocations: 284 kB / 377.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.09729, allocations: 0 / 377.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.09732, allocations: 12 kB / 377.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.09733, allocations: 8 kB / 377.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.0978, allocations: 210.5 kB / 377.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.09925, allocations: 0.8016 MB / 378.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.0997, allocations: 198.3 kB / 378.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.09995, allocations: 108.8 kB / 379 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.09997, allocations: 0 / 379 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1, allocations: 42.56 kB / 379 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.1, allocations: 0 / 379 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005078/0.1051, allocations: 1.389 MB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1051, allocations: 63.25 kB / 380.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1054, allocations: 228 kB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1054, allocations: 29.7 kB / 380.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1055, allocations: 192.4 kB / 380.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.1056, allocations: 123 kB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1057, allocations: 66.08 kB / 381.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1059, allocations: 334.8 kB / 381.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1061, allocations: 112.6 kB / 381.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1064, allocations: 163 kB / 381.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.107, allocations: 280 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.107, allocations: 0 / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001581/0.1086, allocations: 0.5295 MB / 382.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1086, allocations: 8 kB / 382.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1086, allocations: 0 / 382.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.1098, allocations: 241.5 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1101, allocations: 63.89 kB / 382.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/0.1151, allocations: 3.842 MB / 386.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1153, allocations: 8 kB / 386.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1153, allocations: 12 kB / 386.6 MB, free: 7.773 MB / 350.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.0001671/0.1155, allocations: 157.7 kB / 386.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1155, allocations: 31.75 kB / 386.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.1156, allocations: 42.7 kB / 386.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1156, allocations: 4 kB / 386.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1156, allocations: 0 / 386.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1157, allocations: 11.98 kB / 386.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.1177, allocations: 0.8531 MB / 387.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1177, allocations: 3.938 kB / 387.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.118, allocations: 43.86 kB / 387.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.1192, allocations: 245.8 kB / 388 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1192, allocations: 4 kB / 388 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.1238, allocations: 3.838 MB / 391.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1238, allocations: 0 / 391.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.1256, allocations: 0.7247 MB / 392.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1257, allocations: 27.88 kB / 392.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1257, allocations: 4 kB / 392.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.1259, allocations: 12 kB / 392.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.126, allocations: 39.94 kB / 392.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.126, allocations: 4 kB / 392.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1262, allocations: 163 kB / 392.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1262, allocations: 0 / 392.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.1267, allocations: 104 kB / 392.9 MB, free: 1.172 MB / 350.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.0001163/0.1268, allocations: 107.2 kB / 393 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.1278, allocations: 0.5515 MB / 393.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1278, allocations: 0 / 393.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.1284, allocations: 425.5 kB / 394 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1287, allocations: 32.95 kB / 394 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.13, allocations: 0.7065 MB / 394.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1302, allocations: 172.2 kB / 394.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.226e-05/0.1303, allocations: 22.28 kB / 394.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.1303, allocations: 24.5 kB / 395 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1303, allocations: 0 / 395 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Templates: time 0.01059/0.1409, allocations: 5.657 MB / 400.6 MB, free: 9.395 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.781376978964545]