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.001772/0.001772, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002291/0.002291, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.448/1.448, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001601/0.001601, allocations: 43.94 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2497, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003441/0.2532, allocations: 1.974 MB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2542, allocations: 0.5377 MB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.2543, allocations: 4 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.134e-05/0.2543, allocations: 23.78 kB / 426.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2545, allocations: 47.62 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2548, allocations: 83.81 kB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.255, allocations: 183.3 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.2552, allocations: 40.62 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.2554, allocations: 87.62 kB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2555, allocations: 63.69 kB / 426.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.2555, allocations: 16 kB / 426.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.2555, allocations: 16 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.2556, allocations: 31.91 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.2557, allocations: 75.64 kB / 427 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2559, allocations: 167 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2559, allocations: 3.984 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2559, allocations: 0 / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2559, allocations: 4 kB / 427.2 MB, free: 11.12 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.0008025/0.2567, allocations: 393.6 kB / 427.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2567, allocations: 12.03 kB / 427.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.2568, allocations: 16.84 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.257, allocations: 142.2 kB / 427.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.257, allocations: 12.38 kB / 427.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.257, allocations: 8.375 kB / 427.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2574, allocations: 211.2 kB / 427.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2574, allocations: 0 / 427.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2574, allocations: 8 kB / 427.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2574, allocations: 0 / 427.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2577, allocations: 99.88 kB / 428 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.2586, allocations: 419.1 kB / 428.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2589, allocations: 102.5 kB / 428.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.2591, allocations: 64.77 kB / 428.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2591, allocations: 4 kB / 428.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2591, allocations: 30.56 kB / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2592, allocations: 4 kB / 428.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.2596, allocations: 153.4 kB / 428.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.2597, allocations: 106.8 kB / 428.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.2599, allocations: 154.2 kB / 429.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2599, allocations: 25.7 kB / 429.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.26, allocations: 116 kB / 429.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.26, allocations: 35.88 kB / 429.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.2601, allocations: 33.7 kB / 429.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2602, allocations: 318.8 kB / 429.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2604, allocations: 43.98 kB / 429.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.2606, allocations: 127.7 kB / 429.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2608, allocations: 102.5 kB / 429.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2608, allocations: 0 / 429.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000337/0.2612, allocations: 141.5 kB / 430 MB, free: 8.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2612, allocations: 4 kB / 430 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2612, allocations: 3.938 kB / 430 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2612, allocations: 4.047 kB / 430 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.2618, allocations: 91.86 kB / 430.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2633, allocations: 1.371 MB / 431.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2635, allocations: 32.06 kB / 431.5 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2635, allocations: 4 kB / 431.5 MB, free: 6.434 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.0001161/0.2636, allocations: 125.8 kB / 431.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2637, allocations: 11.94 kB / 431.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.2641, allocations: 155.1 kB / 431.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2641, allocations: 0 / 431.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2641, allocations: 0 / 431.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2641, allocations: 3.938 kB / 431.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.2649, allocations: 396.2 kB / 432.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2649, allocations: 0 / 432.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.265, allocations: 23.97 kB / 432.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.2652, allocations: 32.78 kB / 432.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.2653, allocations: 7.938 kB / 432.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.2664, allocations: 1.257 MB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2664, allocations: 0 / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.267, allocations: 305.2 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2671, allocations: 19.95 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2671, allocations: 7.938 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.2673, allocations: 11.98 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2673, allocations: 11.98 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2673, allocations: 7.938 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2674, allocations: 125.8 kB / 434 MB, free: 3.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2674, allocations: 4.062 kB / 434 MB, free: 3.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.2677, allocations: 39.89 kB / 434 MB, free: 3.727 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.0001217/0.2678, allocations: 99.25 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.2685, allocations: 131.9 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2685, allocations: 4 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.2689, allocations: 154.7 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2691, allocations: 10.75 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2707, allocations: 0.5685 MB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2708, allocations: 101.6 kB / 435.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.2708, allocations: 19.42 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2708, allocations: 0 / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of Templates: time 0.004471/0.2753, allocations: 2.293 MB / 437.4 MB, free: 292 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/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: 6.95539480401203]