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.001393/0.001393, allocations: 76.66 kB / 20.67 MB, free: 1.027 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.001393/0.001393, allocations: 147.5 kB / 23.94 MB, free: 4.168 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.417/1.417, allocations: 173.3 MB / 200.4 MB, free: 12.89 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 1.493e-06/1.493e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.41e-05, allocations: 6.219 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003386/0.00341, allocations: 2.586 MB / 321.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004617, allocations: 0.8175 MB / 322.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.00475, allocations: 7.344 kB / 322.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.004971, allocations: 60.47 kB / 322.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.005232, allocations: 103.6 kB / 322.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.005469, allocations: 102.3 kB / 322.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.005794, allocations: 368.4 kB / 322.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005958, allocations: 74.61 kB / 323 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.006225, allocations: 208.3 kB / 323.2 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.006421, allocations: 109 kB / 323.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.006471, allocations: 28.59 kB / 323.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.006524, allocations: 33.22 kB / 323.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.006585, allocations: 72.67 kB / 323.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.006705, allocations: 106.2 kB / 323.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.007162, allocations: 372.6 kB / 323.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007165, allocations: 0 / 323.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007166, allocations: 0 / 323.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.007172, allocations: 0 / 323.9 MB, free: 0.5078 MB / 286.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.0009339/0.008106, allocations: 0.5344 MB / 324.5 MB, free: 96 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.008143, allocations: 9.062 kB / 324.5 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.008215, allocations: 34.06 kB / 324.5 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.008557, allocations: 202.7 kB / 324.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.008586, allocations: 21.11 kB / 324.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.008634, allocations: 25.97 kB / 324.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.009183, allocations: 278.9 kB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.009196, allocations: 1.375 kB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.00923, allocations: 11.8 kB / 325 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.00924, allocations: 10.34 kB / 325 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.009695, allocations: 205.2 kB / 325.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01148, allocations: 0.8137 MB / 326.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.01198, allocations: 187.7 kB / 326.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.01226, allocations: 105.3 kB / 326.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01229, allocations: 4.281 kB / 326.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.01233, allocations: 45.44 kB / 326.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.888e-06/0.01234, allocations: 4 kB / 326.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.005543/0.01788, allocations: 1.375 MB / 327.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.01793, allocations: 64.09 kB / 327.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.01821, allocations: 226.8 kB / 328.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.01824, allocations: 30.83 kB / 328.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.0184, allocations: 183.7 kB / 328.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.01852, allocations: 126.9 kB / 328.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01864, allocations: 62.97 kB / 328.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.01883, allocations: 341.6 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.0191, allocations: 108.7 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.01941, allocations: 160 kB / 329 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.02, allocations: 286.8 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02, allocations: 0 / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001729/0.02173, allocations: 0.5263 MB / 329.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02175, allocations: 6.094 kB / 329.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02176, allocations: 12.91 kB / 329.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.02307, allocations: 242.7 kB / 330.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.02336, allocations: 59.88 kB / 330.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.02889, allocations: 3.844 MB / 334 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.02915, allocations: 13.89 kB / 334 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.02918, allocations: 13.48 kB / 334 MB, free: 9.574 MB / 302.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.0002068/0.02939, allocations: 152.9 kB / 334.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.02945, allocations: 28.72 kB / 334.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.02956, allocations: 42.14 kB / 334.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.02956, allocations: 4.625 kB / 334.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.02957, allocations: 5 kB / 334.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.02958, allocations: 3 kB / 334.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.03182, allocations: 0.8654 MB / 335.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.03182, allocations: 1.219 kB / 335.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.03205, allocations: 42.69 kB / 335.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.03335, allocations: 237.3 kB / 335.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.03338, allocations: 11.47 kB / 335.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.03838, allocations: 3.826 MB / 339.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03838, allocations: 1.438 kB / 339.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.0403, allocations: 0.726 MB / 340 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.04036, allocations: 32.03 kB / 340 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.0404, allocations: 9.375 kB / 340 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.04063, allocations: 10.88 kB / 340 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.04072, allocations: 34.88 kB / 340.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.04074, allocations: 10.86 kB / 340.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.04091, allocations: 157.1 kB / 340.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04091, allocations: 0 / 340.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.04154, allocations: 103.2 kB / 340.3 MB, free: 4.668 MB / 302.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.0001582/0.0417, allocations: 109.6 kB / 340.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.0428, allocations: 0.5522 MB / 341 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.04281, allocations: 4.25 kB / 341 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.04347, allocations: 415.9 kB / 341.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.04382, allocations: 27.58 kB / 341.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.0452, allocations: 0.6407 MB / 342.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.04539, allocations: 169.1 kB / 342.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.04548, allocations: 23.72 kB / 342.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.04554, allocations: 21.73 kB / 342.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.04555, allocations: 0 / 342.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of Templates: time 0.01195/0.05749, allocations: 5.631 MB / 347.9 MB, free: 13.86 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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.458219192922115]