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.001959/0.001959, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.001997/0.001997, allocations: 164.8 kB / 24.27 MB, free: 152 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.614/1.614, allocations: 177 MB / 204.4 MB, free: 5.629 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 4.177e-06/4.177e-06, allocations: 4 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.259e-05, allocations: 6.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004664/0.004697, allocations: 2.76 MB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006596, allocations: 0.9227 MB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.006744, allocations: 8 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.007, allocations: 63.48 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.007322, allocations: 107.1 kB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.007635, allocations: 115.7 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.008089, allocations: 370.5 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.008267, allocations: 74.03 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.008644, allocations: 211.5 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.008868, allocations: 115.7 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.008923, allocations: 28 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.009012, allocations: 32 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.009089, allocations: 71.69 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.009228, allocations: 107.7 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.009766, allocations: 382.7 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009771, allocations: 4 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.009772, allocations: 0 / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.009779, allocations: 0 / 277.5 MB, free: 12.45 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.001159/0.01094, allocations: 0.6516 MB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.01098, allocations: 15.98 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.01119, allocations: 60.75 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.0116, allocations: 217 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.01163, allocations: 21.03 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.01168, allocations: 28.38 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.01219, allocations: 272.3 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.0122, allocations: 192 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.01223, allocations: 12.38 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01225, allocations: 11.94 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.0127, allocations: 198.5 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.01439, allocations: 0.9219 MB / 279.9 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.01484, allocations: 202.9 kB / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.01508, allocations: 107.6 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.01512, allocations: 8 kB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.01516, allocations: 41.73 kB / 280.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.01516, allocations: 0 / 280.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.005247/0.02041, allocations: 1.44 MB / 281.7 MB, free: 8.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.02047, allocations: 59.39 kB / 281.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.02089, allocations: 328.2 kB / 282.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.02093, allocations: 29.7 kB / 282.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02111, allocations: 243.2 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.02123, allocations: 130.9 kB / 282.5 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.02137, allocations: 75.72 kB / 282.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.02167, allocations: 0.5274 MB / 283.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.0219, allocations: 104.7 kB / 283.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.02219, allocations: 179.6 kB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.02273, allocations: 302.1 kB / 283.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02274, allocations: 0 / 283.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001641/0.02438, allocations: 0.5507 MB / 284.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.0244, allocations: 8 kB / 284.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.02441, allocations: 4 kB / 284.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.0264, allocations: 358.9 kB / 284.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.02666, allocations: 51.97 kB / 284.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.03285, allocations: 5.11 MB / 289.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.03309, allocations: 16.03 kB / 289.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.03312, allocations: 15.98 kB / 289.8 MB, free: 15.64 MB / 282.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.0002291/0.03335, allocations: 200.5 kB / 290 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.03343, allocations: 39.81 kB / 290 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.03354, allocations: 38.95 kB / 290 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.03354, allocations: 4 kB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.03355, allocations: 3.938 kB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.03355, allocations: 0 / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.03582, allocations: 0.9678 MB / 291 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.03582, allocations: 4 kB / 291 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.03603, allocations: 39.91 kB / 291.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.03794, allocations: 351.3 kB / 291.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.03797, allocations: 8 kB / 291.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.04387, allocations: 5.088 MB / 296.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04387, allocations: 4.062 kB / 296.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.04584, allocations: 0.7945 MB / 297.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.04589, allocations: 23.75 kB / 297.3 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.04593, allocations: 15.98 kB / 297.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.04614, allocations: 12 kB / 297.3 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.04625, allocations: 31.92 kB / 297.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.04627, allocations: 12 kB / 297.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.04648, allocations: 221.1 kB / 297.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04648, allocations: 0 / 297.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.04707, allocations: 104 kB / 297.7 MB, free: 7.344 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.0001501/0.04722, allocations: 107.2 kB / 297.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.04834, allocations: 0.6794 MB / 298.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.04835, allocations: 8.062 kB / 298.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.04906, allocations: 0.5457 MB / 299 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.04939, allocations: 32.42 kB / 299.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.0507, allocations: 0.6668 MB / 299.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.05088, allocations: 177.6 kB / 299.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.304e-05/0.05097, allocations: 22.28 kB / 299.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.05102, allocations: 16.5 kB / 300 MB, free: 4.953 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.05102, allocations: 0 / 300 MB, free: 4.953 MB / 282.7 MB Notification: Performance of Templates: time 0.1067/0.1577, allocations: 5.899 MB / 305.9 MB, free: 41.01 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","/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.852927842061035]