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.001614/0.001614, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002838/0.002838, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.548/1.548, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00252/0.00252, allocations: 47.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1242, allocations: 53.34 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004556/0.1288, allocations: 2.787 MB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1306, allocations: 0.954 MB / 430.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1308, allocations: 4 kB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1311, allocations: 59.45 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.1315, allocations: 115.2 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1318, allocations: 107.8 kB / 430.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1973/0.3291, allocations: 350.3 kB / 431.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3294, allocations: 73.73 kB / 431.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.3297, allocations: 151 kB / 431.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.3299, allocations: 149.8 kB / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.3299, allocations: 32.27 kB / 431.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.33, allocations: 32.73 kB / 431.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.3301, allocations: 68.75 kB / 431.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3302, allocations: 156.5 kB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.3306, allocations: 377.2 kB / 432.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3306, allocations: 0 / 432.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3306, allocations: 0.7812 kB / 432.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3306, allocations: 0.75 kB / 432.2 MB, free: 8.016 MB / 350.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.0009052/0.3315, allocations: 0.6196 MB / 432.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3316, allocations: 8.688 kB / 432.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3317, allocations: 40.19 kB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.332, allocations: 274 kB / 433.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.332, allocations: 19.53 kB / 433.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.3321, allocations: 27.25 kB / 433.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.3325, allocations: 248.2 kB / 433.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3325, allocations: 6.312 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3325, allocations: 14.62 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3325, allocations: 5.812 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.333, allocations: 206.8 kB / 433.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.3344, allocations: 1.001 MB / 434.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3348, allocations: 194.8 kB / 434.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.335, allocations: 102.8 kB / 434.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3351, allocations: 5.625 kB / 434.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3351, allocations: 36.41 kB / 435 MB, free: 6.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.3351, allocations: 0 / 435 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005161/0.3402, allocations: 1.541 MB / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3403, allocations: 64.8 kB / 436.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3405, allocations: 231.8 kB / 436.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3405, allocations: 32.02 kB / 436.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.3406, allocations: 190 kB / 437 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.3407, allocations: 123.8 kB / 437.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3408, allocations: 63.75 kB / 437.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.3408, allocations: 336.6 kB / 437.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.3411, allocations: 113.2 kB / 437.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3414, allocations: 159.7 kB / 437.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.3419, allocations: 284.1 kB / 438.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3419, allocations: 1.094 kB / 438.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001591/0.3434, allocations: 0.5342 MB / 438.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3435, allocations: 5.531 kB / 438.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3435, allocations: 1.188 kB / 438.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3448, allocations: 246 kB / 438.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3451, allocations: 57.98 kB / 438.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.3492, allocations: 4.145 MB / 443.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3494, allocations: 10.73 kB / 443.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3494, allocations: 13.83 kB / 443.1 MB, free: 1.445 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.0001422/0.3496, allocations: 151.9 kB / 443.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.3496, allocations: 25.02 kB / 443.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.3497, allocations: 39.44 kB / 443.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3497, allocations: 3.5 kB / 443.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3498, allocations: 10.16 kB / 443.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3498, allocations: 1.969 kB / 443.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.352, allocations: 0.9895 MB / 444.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.352, allocations: 1.094 kB / 444.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3522, allocations: 39.72 kB / 444.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.3534, allocations: 247.1 kB / 444.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.3534, allocations: 7.453 kB / 444.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.3584, allocations: 4.116 MB / 448.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3584, allocations: 6.406 kB / 448.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3603, allocations: 0.7228 MB / 449.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3605, allocations: 102.2 kB / 449.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3605, allocations: 11.19 kB / 449.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3607, allocations: 20.53 kB / 449.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3608, allocations: 32.42 kB / 449.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.3609, allocations: 7.719 kB / 449.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3611, allocations: 170.8 kB / 449.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3611, allocations: 0 / 449.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006488/0.3617, allocations: 99.78 kB / 449.9 MB, free: 12.41 MB / 366.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.0001479/0.3619, allocations: 114.2 kB / 450 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.363, allocations: 0.5492 MB / 450.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.363, allocations: 5.625 kB / 450.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3636, allocations: 421.3 kB / 450.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.364, allocations: 22.05 kB / 451 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3654, allocations: 0.7133 MB / 451.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.3658, allocations: 0.7794 MB / 452.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.3659, allocations: 19.39 kB / 452.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.366, allocations: 26.16 kB / 452.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.366, allocations: 0 / 452.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01212/0.3781, allocations: 5.571 MB / 458.1 MB, free: 9.465 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.156318664550781]