Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.00166/0.00166, allocations: 85.16 kB / 21.44 MB, free: 296 kB / 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.002139/0.002139, allocations: 164.9 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.85e-05, allocations: 10.22 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003407/0.003436, allocations: 1.909 MB / 300.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004617, allocations: 0.5852 MB / 301.5 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.004699, allocations: 4 kB / 301.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.819e-05/0.004767, allocations: 23.72 kB / 301.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.004932, allocations: 47.62 kB / 301.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.005291, allocations: 103.6 kB / 301.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.005533, allocations: 187.2 kB / 301.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.005687, allocations: 37.66 kB / 301.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.005935, allocations: 107.8 kB / 302 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.006045, allocations: 51.81 kB / 302 MB, free: 5.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.006082, allocations: 16 kB / 302 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.283e-05/0.006115, allocations: 16 kB / 302 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.006168, allocations: 39.83 kB / 302.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.006272, allocations: 55.89 kB / 302.1 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006548, allocations: 191.3 kB / 302.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.281e-05/0.006571, allocations: 0 / 302.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.006573, allocations: 0 / 302.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.006579, allocations: 7.938 kB / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009529/0.007531, allocations: 397.5 kB / 302.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.007577, allocations: 19.98 kB / 302.7 MB, free: 4.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.007637, allocations: 16.84 kB / 302.8 MB, free: 4.859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.00781, allocations: 137.6 kB / 302.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.00783, allocations: 8.375 kB / 302.9 MB, free: 4.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.007861, allocations: 4.375 kB / 302.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.00825, allocations: 204 kB / 303.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.008264, allocations: 192 / 303.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.008284, allocations: 4.375 kB / 303.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.008295, allocations: 7.938 kB / 303.1 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.008595, allocations: 99.92 kB / 303.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.009482, allocations: 415.3 kB / 303.6 MB, free: 3.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.009828, allocations: 102.5 kB / 303.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.01005, allocations: 64.83 kB / 303.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01007, allocations: 0 / 303.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.01011, allocations: 34.55 kB / 303.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.01011, allocations: 0 / 303.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005287/0.01064, allocations: 145.5 kB / 304 MB, free: 3.543 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.01073, allocations: 106.8 kB / 304.1 MB, free: 3.414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.0109, allocations: 162.2 kB / 304.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.01092, allocations: 29.64 kB / 304.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01103, allocations: 127.8 kB / 304.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.01106, allocations: 23.86 kB / 304.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01113, allocations: 33.66 kB / 304.4 MB, free: 3.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.01131, allocations: 322.8 kB / 304.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.01145, allocations: 43.97 kB / 304.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.01165, allocations: 127.7 kB / 304.9 MB, free: 2.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.01193, allocations: 114.9 kB / 305 MB, free: 2.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01193, allocations: 4 kB / 305 MB, free: 2.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.01229, allocations: 141.5 kB / 305.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.0123, allocations: 4 kB / 305.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01231, allocations: 4.031 kB / 305.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.01232, allocations: 0 / 305.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.01292, allocations: 79.92 kB / 305.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.01449, allocations: 1.381 MB / 306.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.01466, allocations: 20.02 kB / 306.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01468, allocations: 11.92 kB / 306.7 MB, free: 0.6289 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.0148, allocations: 117.8 kB / 306.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.01484, allocations: 19.84 kB / 306.8 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.01533, allocations: 159.3 kB / 307 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01533, allocations: 0 / 307 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01533, allocations: 3.938 kB / 307 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01533, allocations: 0 / 307 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.01609, allocations: 391.8 kB / 307.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0161, allocations: 0 / 307.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.01624, allocations: 19.98 kB / 307.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.01645, allocations: 32.83 kB / 307.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01646, allocations: 0 / 307.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.01785, allocations: 1.276 MB / 308.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01785, allocations: 3.938 kB / 308.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.01858, allocations: 305.1 kB / 309 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.0186, allocations: 11.95 kB / 309 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.01862, allocations: 0 / 309 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.01879, allocations: 11.98 kB / 309 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.01884, allocations: 11.98 kB / 309 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01884, allocations: 8.062 kB / 309 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01896, allocations: 115.5 kB / 309.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01896, allocations: 4 kB / 309.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.01926, allocations: 39.95 kB / 309.2 MB, free: 13.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.01939, allocations: 91.25 kB / 309.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007334/0.02013, allocations: 139.9 kB / 309.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02013, allocations: 0 / 309.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.02048, allocations: 166.5 kB / 309.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.02074, allocations: 11.94 kB / 309.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.02236, allocations: 490.7 kB / 310.1 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.02246, allocations: 101.6 kB / 310.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.02252, allocations: 12.48 kB / 310.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.02258, allocations: 20.5 kB / 310.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.02258, allocations: 0 / 310.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Templates: time 0.00562/0.0282, allocations: 1.757 MB / 311.9 MB, free: 11.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.304059188812971]