Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.91 kB / 368.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2468, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003255/0.25, allocations: 2.051 MB / 422.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.251, allocations: 0.5805 MB / 423.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.251, allocations: 4 kB / 423.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.636e-05/0.2511, allocations: 19.78 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2512, allocations: 43.62 kB / 423.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.2515, allocations: 95.81 kB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.2517, allocations: 179.2 kB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2519, allocations: 44.73 kB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.252, allocations: 83.64 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2521, allocations: 71.75 kB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.2522, allocations: 16 kB / 424.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.2522, allocations: 19.94 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2522, allocations: 35.84 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.2523, allocations: 75.64 kB / 424.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.2525, allocations: 172.6 kB / 424.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2525, allocations: 7.938 kB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2525, allocations: 0 / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2525, allocations: 0 / 424.4 MB, free: 11.59 MB / 334.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.0007806/0.2533, allocations: 474.7 kB / 424.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2534, allocations: 19.89 kB / 424.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.2534, allocations: 16.84 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.2536, allocations: 204.1 kB / 425.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2536, allocations: 4.375 kB / 425.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2536, allocations: 8.375 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.254, allocations: 155.8 kB / 425.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.254, allocations: 4 kB / 425.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.254, allocations: 4 kB / 425.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.254, allocations: 4 kB / 425.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2543, allocations: 95.88 kB / 425.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.2552, allocations: 0.5033 MB / 425.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.2555, allocations: 94.53 kB / 425.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2557, allocations: 72.81 kB / 426 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2557, allocations: 0 / 426 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2557, allocations: 38.44 kB / 426 MB, free: 9.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2557, allocations: 0 / 426 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004459/0.2562, allocations: 145.8 kB / 426.2 MB, free: 9.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2562, allocations: 106.8 kB / 426.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2564, allocations: 154.3 kB / 426.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2564, allocations: 29.64 kB / 426.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.2565, allocations: 120 kB / 426.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2565, allocations: 31.89 kB / 426.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.2566, allocations: 37.69 kB / 426.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2567, allocations: 318.8 kB / 427 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.2568, allocations: 39.97 kB / 427 MB, free: 8.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.257, allocations: 80.2 kB / 427.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.2572, allocations: 102.6 kB / 427.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2572, allocations: 0 / 427.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003389/0.2576, allocations: 149.5 kB / 427.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2576, allocations: 7.938 kB / 427.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2576, allocations: 0 / 427.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2576, allocations: 4 kB / 427.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.2582, allocations: 87.86 kB / 427.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.2597, allocations: 1.504 MB / 428.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.2599, allocations: 19.97 kB / 428.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2599, allocations: 3.938 kB / 428.9 MB, free: 6.582 MB / 334.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.0001171/0.26, allocations: 132.6 kB / 429.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.26, allocations: 12.02 kB / 429.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.2605, allocations: 163 kB / 429.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2605, allocations: 0 / 429.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2605, allocations: 3.938 kB / 429.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2605, allocations: 4 kB / 429.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.2613, allocations: 468 kB / 429.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2613, allocations: 0 / 429.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2614, allocations: 24.02 kB / 429.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.2616, allocations: 32.77 kB / 429.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2617, allocations: 4 kB / 429.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.2628, allocations: 1.387 MB / 431.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2628, allocations: 7.875 kB / 431.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.2634, allocations: 297.2 kB / 431.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.2635, allocations: 85.09 kB / 431.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2635, allocations: 12 kB / 431.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2637, allocations: 15.98 kB / 431.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2637, allocations: 11.92 kB / 431.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2637, allocations: 4 kB / 431.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.2638, allocations: 115.2 kB / 431.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2638, allocations: 4 kB / 431.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.2641, allocations: 43.89 kB / 431.7 MB, free: 3.527 MB / 334.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.0001183/0.2642, allocations: 99.25 kB / 431.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.2649, allocations: 131.9 kB / 432 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2649, allocations: 4 kB / 432 MB, free: 3.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.2652, allocations: 158.7 kB / 432.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2655, allocations: 8 kB / 432.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2671, allocations: 0.5477 MB / 432.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.2674, allocations: 0.7119 MB / 433.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.608e-05/0.2674, allocations: 12.55 kB / 433.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.2675, allocations: 19.42 kB / 433.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2675, allocations: 0 / 433.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of Templates: time 0.004855/0.2723, allocations: 1.704 MB / 435.1 MB, free: 72 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.5219557126984]