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.001427/0.001427, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001507/0.001507, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 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 0.002126/0.002126, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3346, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003464/0.338, allocations: 1.843 MB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3393, allocations: 0.5621 MB / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.3394, allocations: 0 / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.995e-05/0.3394, allocations: 11.86 kB / 0.5642 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.3396, allocations: 47.62 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.34, allocations: 87.2 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.3402, allocations: 143.5 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3404, allocations: 35.89 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3406, allocations: 75.7 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3407, allocations: 51.81 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3408, allocations: 15.94 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.3408, allocations: 20 kB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.3409, allocations: 31.84 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.3409, allocations: 47.84 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3412, allocations: 147.1 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3412, allocations: 7.938 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3412, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3412, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 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.0007934/0.342, allocations: 373.8 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.342, allocations: 12.03 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.3423, allocations: 40.81 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3425, allocations: 134.4 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3425, allocations: 8.375 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3425, allocations: 8.312 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.3429, allocations: 194.6 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3429, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3429, allocations: 4 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3429, allocations: 4 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.3433, allocations: 95.86 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.3442, allocations: 371.1 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3445, allocations: 86.53 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.3447, allocations: 44.92 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3447, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3448, allocations: 34.56 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3448, allocations: 0 / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00139/0.3461, allocations: 317.3 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.3462, allocations: 102.8 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3464, allocations: 159.7 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3464, allocations: 29.7 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.3465, allocations: 112.2 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.3465, allocations: 19.86 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.3466, allocations: 25.7 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3468, allocations: 322.8 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.347, allocations: 67.88 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3473, allocations: 139.7 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.3477, allocations: 130.5 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3477, allocations: 3.938 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000565/0.3483, allocations: 185.5 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3483, allocations: 4 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3483, allocations: 3.984 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3483, allocations: 11.88 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.3489, allocations: 79.91 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3506, allocations: 1.374 MB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3508, allocations: 28.09 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3508, allocations: 8 kB / 0.5692 GB, free: 12.22 MB / 414.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 (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 0.0001312/0.351, allocations: 133.7 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.351, allocations: 7.953 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.3515, allocations: 162.3 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3515, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.3515, allocations: 192 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3515, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.3524, allocations: 397.9 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3524, allocations: 0 / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3526, allocations: 27.97 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3526, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3526, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3526, allocations: 4 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3526, allocations: 0 / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.3531, allocations: 259.5 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.3532, allocations: 11.94 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3532, allocations: 4 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3534, allocations: 27.97 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3534, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3535, allocations: 7.984 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3536, allocations: 107.3 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3538, allocations: 35.94 kB / 0.5703 GB, free: 10.99 MB / 414.1 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 0.000105/0.3539, allocations: 91.25 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000905/0.3549, allocations: 175.8 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3549, allocations: 0 / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.3551, allocations: 64.06 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3555, allocations: 21.83 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3568, allocations: 413.6 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.3569, allocations: 84.81 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.357, allocations: 19.44 kB / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.357, allocations: 0 / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004174/0.3612, allocations: 1.888 MB / 0.573 GB, free: 8.195 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.5841780891641974]