Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 169 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9851/0.9851, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2837/0.2837, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.513e-05, allocations: 2.312 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002573/0.002599, allocations: 1.926 MB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.00333, allocations: 0.5882 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.003381, allocations: 0 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.003416, allocations: 15.86 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.003559, allocations: 43.62 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.003745, allocations: 83.77 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.00387, allocations: 159.4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.003962, allocations: 21.3 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.004142, allocations: 99.72 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.004214, allocations: 59.8 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.004236, allocations: 12 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.004283, allocations: 16 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.004304, allocations: 27.91 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.004346, allocations: 51.84 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.004495, allocations: 103.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004497, allocations: 4 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004498, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004501, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004684/0.004969, allocations: 464 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.005004, allocations: 8.031 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.005164, allocations: 44.88 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.358e-05/0.005257, allocations: 136.4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.005269, allocations: 8.375 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.005288, allocations: 4.375 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.005466, allocations: 179.4 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.005479, allocations: 8.172 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005488, allocations: 4.375 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005496, allocations: 7.938 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.005539, allocations: 23.91 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.005973, allocations: 387.2 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.006043, allocations: 43.05 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.006067, allocations: 19.77 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.006083, allocations: 0 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.006106, allocations: 37.39 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006107, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003829/0.00649, allocations: 129.4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.006535, allocations: 110.8 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.006633, allocations: 197.8 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.006649, allocations: 25.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.006716, allocations: 158.9 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.006733, allocations: 27.78 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.006781, allocations: 31.36 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.006939, allocations: 0.4961 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.006979, allocations: 15.92 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.007062, allocations: 113.8 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.007126, allocations: 55.02 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007127, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001076/0.007234, allocations: 85.56 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.007244, allocations: 4 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.007248, allocations: 4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007258, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.007514, allocations: 83.97 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009691/0.008484, allocations: 1.867 MB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.008559, allocations: 16.14 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008566, allocations: 4 kB / 386.4 MB, free: 10.05 MB / 362.7 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 (9): * Single equations (assignments): 8 * 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 7.226e-05/0.008638, allocations: 164.5 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.00866, allocations: 11.95 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-05/0.008754, allocations: 82.36 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.008755, allocations: 0 / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.008756, allocations: 0 / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008759, allocations: 0 / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.009015, allocations: 326 kB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.009018, allocations: 4.062 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.009073, allocations: 19.98 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009077, allocations: 7.938 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.009083, allocations: 0 / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.009084, allocations: 0 / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.009085, allocations: 0 / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.009197, allocations: 219.8 kB / 387.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.009208, allocations: 11.91 kB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.00922, allocations: 7.938 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.009285, allocations: 11.98 kB / 387.3 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.009313, allocations: 11.98 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.009318, allocations: 4 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.009369, allocations: 150.1 kB / 387.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009369, allocations: 0 / 387.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.00953, allocations: 28 kB / 387.5 MB, free: 8.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.909e-05/0.009599, allocations: 99.19 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.009866, allocations: 87.67 kB / 387.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009867, allocations: 0 / 387.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.0099, allocations: 31.66 kB / 387.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.01007, allocations: 16.56 kB / 387.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.01059, allocations: 307.5 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.01062, allocations: 67.33 kB / 388.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01067, allocations: 12.48 kB / 388.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01077, allocations: 98.16 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01077, allocations: 4 kB / 388.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of Templates: time 0.003404/0.01418, allocations: 2.011 MB / 390.2 MB, free: 6.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2072066459804773]