Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001202/0.001202, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009868/0.0009868, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8618/0.8618, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.556e-06/9.888e-06, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002635/0.002645, allocations: 2.768 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.003599, allocations: 0.9614 MB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.003694, allocations: 4 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.003863, allocations: 59.45 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.004051, allocations: 115.1 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.004234, allocations: 115.7 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004472, allocations: 366.4 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.004586, allocations: 80 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.004774, allocations: 207.5 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.004897, allocations: 111.7 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.004927, allocations: 32 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.004976, allocations: 35.94 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.005014, allocations: 71.67 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.005083, allocations: 107.8 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005282, allocations: 247 kB / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005283, allocations: 0 / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.005284, allocations: 0 / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.005286, allocations: 0 / 278.7 MB, free: 12.03 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.0004966/0.005783, allocations: 0.5116 MB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.005812, allocations: 20.02 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.005912, allocations: 48.91 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.006069, allocations: 178.3 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.00609, allocations: 21.03 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.00612, allocations: 32.31 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.006318, allocations: 217 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006325, allocations: 192 / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006339, allocations: 8.375 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006346, allocations: 11.94 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.006438, allocations: 76.55 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.007118, allocations: 0.634 MB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.007267, allocations: 122.5 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.007338, allocations: 56.84 kB / 280.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.007355, allocations: 4 kB / 280.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.007373, allocations: 38.56 kB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.007374, allocations: 0 / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002231/0.009605, allocations: 1.208 MB / 281.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.009625, allocations: 59.34 kB / 281.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.009731, allocations: 217 kB / 282.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.009751, allocations: 33.7 kB / 282.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.00981, allocations: 176.4 kB / 282.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.01009, allocations: 122.9 kB / 282.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.01015, allocations: 70.03 kB / 282.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.01023, allocations: 346.7 kB / 282.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.01028, allocations: 36.73 kB / 282.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.01035, allocations: 89.47 kB / 283 MB, free: 7.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.01049, allocations: 155.9 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01049, allocations: 0 / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005189/0.01101, allocations: 338.6 kB / 283.5 MB, free: 6.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.01102, allocations: 8 kB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01102, allocations: 0 / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/0.01173, allocations: 297.4 kB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.01185, allocations: 59.91 kB / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.01376, allocations: 3.144 MB / 287 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.01384, allocations: 15.98 kB / 287 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01385, allocations: 12 kB / 287 MB, free: 3.293 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 7.597e-05/0.01393, allocations: 121.8 kB / 287.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.01396, allocations: 31.91 kB / 287.1 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.014, allocations: 42.97 kB / 287.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.014, allocations: 4 kB / 287.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01401, allocations: 8.016 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01401, allocations: 3.984 kB / 287.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.01475, allocations: 0.5676 MB / 287.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01476, allocations: 4 kB / 287.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.01485, allocations: 39.97 kB / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006771/0.01552, allocations: 297.6 kB / 288.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01554, allocations: 8 kB / 288.1 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.01752, allocations: 3.131 MB / 291.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01752, allocations: 4 kB / 291.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.0181, allocations: 474.1 kB / 291.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01812, allocations: 19.86 kB / 291.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01814, allocations: 8 kB / 291.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.01822, allocations: 15.98 kB / 291.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01827, allocations: 27.94 kB / 291.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01827, allocations: 8 kB / 291.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.01832, allocations: 70.78 kB / 291.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01832, allocations: 4.031 kB / 291.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.01863, allocations: 104 kB / 292 MB, free: 14.07 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 6.686e-05/0.0187, allocations: 88.34 kB / 292 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.01906, allocations: 461.1 kB / 292.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01906, allocations: 0 / 292.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.01929, allocations: 389.7 kB / 292.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.01944, allocations: 24.44 kB / 292.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.02025, allocations: 0.6277 MB / 293.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.61e-05/0.0203, allocations: 101 kB / 293.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.02036, allocations: 26.28 kB / 293.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.02042, allocations: 71.38 kB / 293.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02042, allocations: 0 / 293.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Templates: time 0.007057/0.02748, allocations: 6.127 MB / 299.8 MB, free: 6.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5045349332503974]