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.001465/0.001465, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.005829/0.005829, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9962/0.9962, allocations: 177.1 MB / 205 MB, free: 5.613 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 2.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.88e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003663/0.003692, allocations: 2.799 MB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005178, allocations: 0.9345 MB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.005328, allocations: 7.938 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.005587, allocations: 63.44 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.005877, allocations: 107.1 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.00617, allocations: 115.7 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.006519, allocations: 370.4 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.006687, allocations: 78.03 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.006975, allocations: 203.6 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.007133, allocations: 115.6 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.007175, allocations: 32 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.007241, allocations: 35.94 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.007286, allocations: 71.73 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.007366, allocations: 103.8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.007659, allocations: 243.1 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.007663, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007664, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.00767, allocations: 0 / 278.2 MB, free: 12.27 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.0007552/0.008425, allocations: 0.6402 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.008468, allocations: 12.03 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.008641, allocations: 56.75 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.008912, allocations: 217 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.008945, allocations: 17.03 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.008988, allocations: 28.38 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.009335, allocations: 229 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.009344, allocations: 4.125 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.009372, allocations: 16.38 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.009385, allocations: 7.938 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.009571, allocations: 115.8 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01064, allocations: 0.832 MB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.01088, allocations: 155 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.01102, allocations: 75.64 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.01105, allocations: 4 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.01108, allocations: 41.33 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.01108, allocations: 0 / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002732/0.01381, allocations: 1.219 MB / 281.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.01385, allocations: 55.41 kB / 281.9 MB, free: 8.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01404, allocations: 280.3 kB / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01406, allocations: 29.7 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01417, allocations: 243.1 kB / 282.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.01425, allocations: 126.9 kB / 282.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.01433, allocations: 67.73 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01448, allocations: 0.5117 MB / 283.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01458, allocations: 56.64 kB / 283.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.01472, allocations: 131.6 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.01497, allocations: 202.1 kB / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01497, allocations: 0 / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007896/0.01576, allocations: 436 kB / 284 MB, free: 6.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.01578, allocations: 7.938 kB / 284 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01579, allocations: 0 / 284 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009505/0.01674, allocations: 307.1 kB / 284.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.0169, allocations: 55.91 kB / 284.3 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/0.0206, allocations: 4.604 MB / 288.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.02074, allocations: 11.94 kB / 288.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.02077, allocations: 16 kB / 289 MB, free: 0.9414 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.0001376/0.02091, allocations: 172.6 kB / 289.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.02098, allocations: 39.81 kB / 289.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.02104, allocations: 46.94 kB / 289.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02104, allocations: 4 kB / 289.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.02105, allocations: 3.938 kB / 289.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.02106, allocations: 7.922 kB / 289.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.02246, allocations: 0.7962 MB / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02246, allocations: 0 / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.02261, allocations: 48.03 kB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.0237, allocations: 307.2 kB / 290.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.02373, allocations: 8 kB / 290.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.0273, allocations: 4.588 MB / 295 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02731, allocations: 0 / 295 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.0284, allocations: 0.6032 MB / 295.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.02843, allocations: 31.73 kB / 295.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.02846, allocations: 12.03 kB / 295.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.0286, allocations: 12 kB / 295.6 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.02869, allocations: 35.88 kB / 295.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.02872, allocations: 19.91 kB / 295.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.02886, allocations: 193.1 kB / 295.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02886, allocations: 0 / 295.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006027/0.02946, allocations: 100 kB / 296 MB, free: 9.582 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.0001326/0.02959, allocations: 107.2 kB / 296.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.03036, allocations: 0.5885 MB / 296.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.03036, allocations: 0 / 296.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.0308, allocations: 0.5034 MB / 297.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.03115, allocations: 28.42 kB / 297.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.03255, allocations: 0.6384 MB / 297.8 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.03263, allocations: 105.1 kB / 297.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.03271, allocations: 22.27 kB / 297.9 MB, free: 7.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.03276, allocations: 20.5 kB / 298 MB, free: 7.418 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03276, allocations: 0 / 298 MB, free: 7.418 MB / 282.7 MB Notification: Performance of Templates: time 0.00998/0.04274, allocations: 5.904 MB / 303.9 MB, free: 1.543 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: 3.369892773218453]