Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001831/0.001831, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001581/0.001581, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.89 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2476, allocations: 53.41 MB / 432.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003545/0.2512, allocations: 2.069 MB / 434.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2523, allocations: 0.67 MB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.2524, allocations: 4 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.2525, allocations: 19.8 kB / 435.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.2526, allocations: 43.62 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.253, allocations: 107.7 kB / 435.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.2533, allocations: 187.3 kB / 435.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.2534, allocations: 29.73 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.2536, allocations: 91.64 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2537, allocations: 79.67 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.2537, allocations: 20 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.2538, allocations: 24 kB / 435.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.2538, allocations: 39.83 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.2539, allocations: 79.55 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.2542, allocations: 180.6 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2542, allocations: 3.984 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2542, allocations: 0 / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2542, allocations: 0 / 436.1 MB, free: 3.137 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.0007785/0.255, allocations: 401.5 kB / 436.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.255, allocations: 8.031 kB / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.2554, allocations: 60.8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.2557, allocations: 161.3 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2557, allocations: 8.375 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2557, allocations: 12.38 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.2561, allocations: 152.4 kB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2561, allocations: 0 / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2561, allocations: 4 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2561, allocations: 4 kB / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.2564, allocations: 99.88 kB / 437 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.2573, allocations: 490.4 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2576, allocations: 94.53 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2578, allocations: 64.83 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2578, allocations: 0 / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2579, allocations: 42.5 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2579, allocations: 0 / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004932/0.2584, allocations: 145.5 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2584, allocations: 106.8 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.2586, allocations: 162.8 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2586, allocations: 25.7 kB / 438.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.2587, allocations: 119.9 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.2588, allocations: 35.81 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.2588, allocations: 33.7 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.259, allocations: 322.8 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2591, allocations: 43.97 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2593, allocations: 76.27 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2595, allocations: 98.52 kB / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2595, allocations: 0 / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003693/0.2599, allocations: 145.8 kB / 438.9 MB, free: 48 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2599, allocations: 15.92 kB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2599, allocations: 0 / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2599, allocations: 0 / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.2605, allocations: 83.92 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.2621, allocations: 1.404 MB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2623, allocations: 11.98 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2623, allocations: 15.86 kB / 440.5 MB, free: 14.4 MB / 350.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.0001182/0.2624, allocations: 125.8 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2624, allocations: 11.91 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.2629, allocations: 167.2 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2629, allocations: 0 / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2629, allocations: 3.938 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2629, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.2637, allocations: 435.1 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2637, allocations: 0 / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2639, allocations: 19.98 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.2641, allocations: 40.8 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2641, allocations: 0 / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.2653, allocations: 1.291 MB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2653, allocations: 7.875 kB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.266, allocations: 293.2 kB / 442.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.266, allocations: 19.91 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.266, allocations: 3.938 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2662, allocations: 20.05 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2662, allocations: 11.92 kB / 442.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2662, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2663, allocations: 119.2 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2663, allocations: 0 / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.2666, allocations: 43.89 kB / 443.1 MB, free: 11.59 MB / 350.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.0001264/0.2668, allocations: 99.25 kB / 443.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007331/0.2675, allocations: 131.8 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2675, allocations: 4.062 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.2678, allocations: 158.7 kB / 443.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.2681, allocations: 10.75 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2697, allocations: 0.5751 MB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.27, allocations: 0.7119 MB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2701, allocations: 15.44 kB / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2701, allocations: 0 / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Templates: time 0.0045/0.2746, allocations: 2.262 MB / 447 MB, free: 7.559 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.12464655097574]