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.001405/0.001405, allocations: 107 kB / 19.8 MB, free: 2.5 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.001529/0.001529, allocations: 218.1 kB / 23 MB, free: 5.574 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001864/0.001864, allocations: 67.88 kB / 376.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.263, allocations: 53.33 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003608/0.2667, allocations: 2.076 MB / 431.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2679, allocations: 0.6661 MB / 432.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.268, allocations: 0 / 432.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.762e-05/0.2681, allocations: 19.8 kB / 432.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2682, allocations: 47.56 kB / 432.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.2686, allocations: 107.8 kB / 432.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.2689, allocations: 183.3 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.269, allocations: 41.47 kB / 432.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.2692, allocations: 87.7 kB / 433 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2694, allocations: 79.61 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.2694, allocations: 16 kB / 433.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.2695, allocations: 24 kB / 433.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.2695, allocations: 35.84 kB / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.2696, allocations: 79.64 kB / 433.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2698, allocations: 176.6 kB / 433.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2698, allocations: 0 / 433.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2698, allocations: 0 / 433.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2698, allocations: 0 / 433.4 MB, free: 3.883 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.0008674/0.2707, allocations: 482.6 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2708, allocations: 15.97 kB / 433.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.2711, allocations: 52.81 kB / 434 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.2715, allocations: 220.1 kB / 434.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2715, allocations: 8.375 kB / 434.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.2715, allocations: 12.38 kB / 434.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2719, allocations: 159.5 kB / 434.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2719, allocations: 0 / 434.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2719, allocations: 4 kB / 434.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.272, allocations: 4 kB / 434.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2722, allocations: 91.94 kB / 434.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.2732, allocations: 0.5072 MB / 435 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.2735, allocations: 110.4 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.2737, allocations: 60.83 kB / 435.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2737, allocations: 4 kB / 435.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2738, allocations: 38.44 kB / 435.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2738, allocations: 0 / 435.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005119/0.2743, allocations: 149.7 kB / 435.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.2744, allocations: 106.8 kB / 435.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2745, allocations: 166.1 kB / 435.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2746, allocations: 29.7 kB / 435.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.2747, allocations: 116 kB / 435.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2747, allocations: 35.73 kB / 435.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.2748, allocations: 29.7 kB / 435.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2749, allocations: 322.8 kB / 436.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2751, allocations: 39.91 kB / 436.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.2752, allocations: 80.27 kB / 436.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.2755, allocations: 102.8 kB / 436.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2755, allocations: 0 / 436.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003548/0.2758, allocations: 145.6 kB / 436.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2758, allocations: 7.938 kB / 436.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2759, allocations: 0 / 436.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2759, allocations: 7.984 kB / 436.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.2765, allocations: 79.95 kB / 436.6 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2782, allocations: 1.496 MB / 438.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2783, allocations: 23.97 kB / 438.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2784, allocations: 7.922 kB / 438.1 MB, free: 14.8 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.0001299/0.2785, allocations: 129.9 kB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2785, allocations: 7.953 kB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.279, allocations: 159.1 kB / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.279, allocations: 0 / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.279, allocations: 11.94 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.279, allocations: 4 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.2798, allocations: 463.9 kB / 438.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2799, allocations: 4.016 kB / 438.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.28, allocations: 31.95 kB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.2802, allocations: 28.84 kB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2802, allocations: 0 / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.2815, allocations: 1.391 MB / 440.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2815, allocations: 3.938 kB / 440.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.2821, allocations: 297.2 kB / 440.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.2822, allocations: 89.08 kB / 440.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2822, allocations: 3.938 kB / 440.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2824, allocations: 11.98 kB / 440.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.2824, allocations: 11.98 kB / 440.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2824, allocations: 4 kB / 440.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.2825, allocations: 119.2 kB / 440.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2825, allocations: 4.062 kB / 440.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.2828, allocations: 43.89 kB / 440.9 MB, free: 11.75 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.000147/0.283, allocations: 95.25 kB / 441 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.2837, allocations: 135.9 kB / 441.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2837, allocations: 0 / 441.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.284, allocations: 166.6 kB / 441.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.2843, allocations: 8 kB / 441.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2859, allocations: 0.5555 MB / 441.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.2862, allocations: 0.7196 MB / 442.5 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.2863, allocations: 8.562 kB / 442.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.2863, allocations: 15.42 kB / 442.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2863, allocations: 0 / 442.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004952/0.2913, allocations: 1.711 MB / 444.3 MB, free: 8.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/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: 4.466094044037163]