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.001822/0.001822, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002332/0.002332, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13 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.001541/0.001541, allocations: 51.91 kB / 370.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003585/0.247, allocations: 2.059 MB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2481, allocations: 0.5766 MB / 425.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.2481, allocations: 4 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.503e-05/0.2482, allocations: 19.78 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2483, allocations: 43.62 kB / 425.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.2487, allocations: 95.02 kB / 425.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.249, allocations: 187.2 kB / 426.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2492, allocations: 37.66 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.2494, allocations: 83.7 kB / 426.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2495, allocations: 75.69 kB / 426.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.2495, allocations: 16 kB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.558e-05/0.2496, allocations: 16 kB / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.2496, allocations: 35.84 kB / 426.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2497, allocations: 79.64 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.25, allocations: 172.6 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.25, allocations: 0 / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.25, allocations: 4 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.25, allocations: 3.938 kB / 426.6 MB, free: 11.15 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.0009042/0.2509, allocations: 393.6 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2509, allocations: 8.031 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.251, allocations: 20.84 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2512, allocations: 138.3 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2512, allocations: 8.375 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.2513, allocations: 12.38 kB / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.2516, allocations: 159.8 kB / 427.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2517, allocations: 0 / 427.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.2517, allocations: 12 kB / 427.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2517, allocations: 0 / 427.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.252, allocations: 91.94 kB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.253, allocations: 486.4 kB / 427.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.2534, allocations: 102.5 kB / 428 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2536, allocations: 64.81 kB / 428.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2536, allocations: 4 kB / 428.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.2536, allocations: 38.5 kB / 428.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2536, allocations: 0 / 428.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004935/0.2541, allocations: 145.5 kB / 428.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.2542, allocations: 110.8 kB / 428.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2544, allocations: 154.2 kB / 428.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2544, allocations: 29.7 kB / 428.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.2545, allocations: 115.9 kB / 428.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2545, allocations: 39.81 kB / 428.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.2546, allocations: 33.7 kB / 428.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2547, allocations: 322.8 kB / 429 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2549, allocations: 43.97 kB / 429.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.255, allocations: 72.27 kB / 429.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2553, allocations: 98.52 kB / 429.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2553, allocations: 4 kB / 429.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003749/0.2557, allocations: 145.5 kB / 429.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2557, allocations: 11.94 kB / 429.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2557, allocations: 0 / 429.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2557, allocations: 0 / 429.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.2564, allocations: 83.91 kB / 429.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.258, allocations: 1.401 MB / 430.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2582, allocations: 19.88 kB / 430.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2582, allocations: 11.88 kB / 430.9 MB, free: 6.48 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.000145/0.2583, allocations: 129.8 kB / 431.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.2584, allocations: 7.953 kB / 431.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.2589, allocations: 159.2 kB / 431.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2589, allocations: 0 / 431.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2589, allocations: 3.984 kB / 431.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2589, allocations: 7.969 kB / 431.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.2597, allocations: 439.1 kB / 431.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2597, allocations: 0 / 431.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.2598, allocations: 19.98 kB / 431.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.2601, allocations: 32.86 kB / 431.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2601, allocations: 4 kB / 431.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.2613, allocations: 1.283 MB / 433 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2613, allocations: 3.938 kB / 433 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.262, allocations: 301.7 kB / 433.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.262, allocations: 11.89 kB / 433.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.262, allocations: 7.938 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2622, allocations: 16.05 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.2622, allocations: 7.984 kB / 433.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2622, allocations: 7.984 kB / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.2623, allocations: 114.1 kB / 433.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2623, allocations: 0 / 433.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.2627, allocations: 43.89 kB / 433.5 MB, free: 3.695 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.0001335/0.2628, allocations: 107.2 kB / 433.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.2635, allocations: 127.9 kB / 433.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.2635, allocations: 12 kB / 433.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.2639, allocations: 162.6 kB / 433.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2641, allocations: 12 kB / 433.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.2658, allocations: 0.5324 MB / 434.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2661, allocations: 0.7196 MB / 435.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.2662, allocations: 12.48 kB / 435.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.2662, allocations: 11.44 kB / 435.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2662, allocations: 0 / 435.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Templates: time 0.005176/0.2714, allocations: 1.736 MB / 436.9 MB, free: 204 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.542913022451103]