Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001523/0.001523, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001619/0.001619, allocations: 156.9 kB / 24.27 MB, free: 176 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.544/1.544, allocations: 177 MB / 204.5 MB, free: 5.609 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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.473e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00449/0.004525, allocations: 2.619 MB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.006485, allocations: 0.9072 MB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.006745, allocations: 4 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.007058, allocations: 55.52 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.007492, allocations: 115 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.007863, allocations: 115.7 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.008371, allocations: 370.3 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.008548, allocations: 74.03 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.008904, allocations: 211.5 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.009107, allocations: 107.7 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.009163, allocations: 28 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.009246, allocations: 35.98 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.009316, allocations: 71.67 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.00945, allocations: 107.8 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.009973, allocations: 382.7 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.009977, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009978, allocations: 3.938 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.009984, allocations: 0 / 277.4 MB, free: 12.61 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001051/0.01103, allocations: 0.5325 MB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.01107, allocations: 11.98 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.01131, allocations: 64.73 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.0117, allocations: 214.1 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.01173, allocations: 21.03 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.01179, allocations: 28.38 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.01232, allocations: 276.3 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01234, allocations: 4.172 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.01236, allocations: 12.38 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01238, allocations: 11.94 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.01285, allocations: 210.5 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.01443, allocations: 0.821 MB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.01491, allocations: 182.5 kB / 279.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.01517, allocations: 100.8 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.0152, allocations: 4 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.01524, allocations: 42.48 kB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.122e-06/0.01524, allocations: 3.938 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.005383/0.02063, allocations: 1.411 MB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.02067, allocations: 59.34 kB / 281.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.02095, allocations: 237.7 kB / 281.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.02098, allocations: 33.7 kB / 281.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.02113, allocations: 184.5 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02125, allocations: 122.9 kB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02137, allocations: 70.02 kB / 282 MB, free: 7.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.02157, allocations: 342.8 kB / 282.3 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.02183, allocations: 104.7 kB / 282.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.02214, allocations: 161.5 kB / 282.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.02271, allocations: 280 kB / 282.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02272, allocations: 0 / 282.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00179/0.02451, allocations: 0.5374 MB / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.02452, allocations: 4 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02453, allocations: 4 kB / 283.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.02651, allocations: 337.3 kB / 283.7 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.02679, allocations: 63.89 kB / 283.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.03224, allocations: 3.862 MB / 287.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.03248, allocations: 15.97 kB / 287.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.03251, allocations: 12 kB / 287.7 MB, free: 1.801 MB / 266.7 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.0001974/0.03271, allocations: 157.8 kB / 287.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.03279, allocations: 35.86 kB / 287.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.03288, allocations: 38.97 kB / 287.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.03289, allocations: 7.984 kB / 287.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.03289, allocations: 3.938 kB / 287.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.0329, allocations: 0 / 287.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.03512, allocations: 0.8598 MB / 288.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03512, allocations: 64 / 288.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.03535, allocations: 51.91 kB / 288.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.03728, allocations: 329.4 kB / 289.2 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.0373, allocations: 12 kB / 289.2 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/0.04261, allocations: 3.846 MB / 293 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.04261, allocations: 0 / 293 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.04463, allocations: 0.7324 MB / 293.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.04468, allocations: 31.81 kB / 293.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.04471, allocations: 8 kB / 293.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.04495, allocations: 16 kB / 293.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.04504, allocations: 27.94 kB / 293.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.04506, allocations: 8 kB / 293.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.04524, allocations: 169.2 kB / 294 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04524, allocations: 0 / 294 MB, free: 11.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005762/0.04582, allocations: 100 kB / 294.1 MB, free: 11.1 MB / 282.7 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.000143/0.04596, allocations: 115.2 kB / 294.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.047, allocations: 0.5444 MB / 294.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.047, allocations: 256 / 294.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.04764, allocations: 432.7 kB / 295.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.04797, allocations: 28.38 kB / 295.2 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.04929, allocations: 0.6518 MB / 295.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.04947, allocations: 177.6 kB / 296 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.04956, allocations: 18.3 kB / 296 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.04962, allocations: 20.5 kB / 296.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.04962, allocations: 0 / 296.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of Templates: time 0.01139/0.06101, allocations: 5.671 MB / 301.7 MB, free: 3.359 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.8575371449114755]