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.001333/0.001333, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00151/0.00151, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 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.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.129e-05, allocations: 6.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002863/0.002884, allocations: 2.799 MB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.004143, allocations: 0.9267 MB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.00428, allocations: 7.938 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.004485, allocations: 67.38 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.004715, allocations: 111.1 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.004957, allocations: 107.7 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.005276, allocations: 370.4 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.005425, allocations: 74.03 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.00568, allocations: 219.5 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.005822, allocations: 111.7 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.005855, allocations: 28 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.005912, allocations: 32 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.005951, allocations: 67.73 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.00603, allocations: 111.7 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.006292, allocations: 239.1 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.006295, allocations: 0 / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006296, allocations: 0 / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.006301, allocations: 4 kB / 278.2 MB, free: 12.49 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.0006665/0.006968, allocations: 0.6363 MB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.007004, allocations: 19.92 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.007154, allocations: 56.75 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.007395, allocations: 221 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.007421, allocations: 21.03 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.007455, allocations: 24.38 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.007745, allocations: 229 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.007755, allocations: 192 / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.007777, allocations: 12.38 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.007787, allocations: 11.94 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.00796, allocations: 115.8 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.008901, allocations: 0.832 MB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.009146, allocations: 159 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.009272, allocations: 71.66 kB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.009293, allocations: 4 kB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.009319, allocations: 41.33 kB / 280.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.009321, allocations: 4 kB / 280.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00255/0.01187, allocations: 1.205 MB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.0119, allocations: 55.41 kB / 281.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.01208, allocations: 284.2 kB / 282.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.0121, allocations: 37.7 kB / 282.2 MB, free: 8.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.0122, allocations: 243.2 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.01226, allocations: 118.9 kB / 282.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.01234, allocations: 71.72 kB / 282.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01246, allocations: 0.5117 MB / 283.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01256, allocations: 56.72 kB / 283.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01269, allocations: 123.6 kB / 283.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.01291, allocations: 198.1 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01292, allocations: 8 kB / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007456/0.01366, allocations: 432 kB / 284 MB, free: 6.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01368, allocations: 4 kB / 284 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01368, allocations: 7.938 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.01457, allocations: 311 kB / 284.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01471, allocations: 51.91 kB / 284.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.01763, allocations: 4.61 MB / 288.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.01773, allocations: 8 kB / 289 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01775, allocations: 15.94 kB / 289 MB, free: 1.16 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.0001083/0.01785, allocations: 168.6 kB / 289.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.0179, allocations: 43.8 kB / 289.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.01795, allocations: 34.97 kB / 289.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01795, allocations: 8.031 kB / 289.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.01796, allocations: 7.938 kB / 289.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01796, allocations: 3.984 kB / 289.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.01899, allocations: 0.7959 MB / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.019, allocations: 0 / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.01912, allocations: 44.02 kB / 290.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.01994, allocations: 307 kB / 290.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01996, allocations: 8 kB / 290.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.02257, allocations: 4.593 MB / 295 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02257, allocations: 4 kB / 295 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.0234, allocations: 0.6071 MB / 295.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.02343, allocations: 27.75 kB / 295.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.02345, allocations: 4 kB / 295.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.02355, allocations: 19.98 kB / 295.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.02362, allocations: 27.94 kB / 295.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.02364, allocations: 8 kB / 295.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.02374, allocations: 205.1 kB / 295.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02374, allocations: 0 / 295.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.02413, allocations: 100 kB / 296 MB, free: 9.816 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.0001056/0.02424, allocations: 103.2 kB / 296.1 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.02484, allocations: 0.6011 MB / 296.7 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02484, allocations: 0 / 296.7 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.02517, allocations: 0.4911 MB / 297.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.02541, allocations: 32.41 kB / 297.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02655, allocations: 0.6426 MB / 297.8 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.02663, allocations: 105 kB / 297.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.02669, allocations: 22.28 kB / 298 MB, free: 7.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.02673, allocations: 20.5 kB / 298 MB, free: 7.652 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02673, allocations: 0 / 298 MB, free: 7.652 MB / 282.7 MB Notification: Performance of Templates: time 0.008494/0.03523, allocations: 5.903 MB / 303.9 MB, free: 1.777 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0774360219947994]