Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00168/0.00168, allocations: 107 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.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.002006/0.002006, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.222/0.222, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002931, allocations: 67.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.333, allocations: 66.02 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002943/0.336, allocations: 1.6 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3379, allocations: 1.248 MB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3379, allocations: 0 / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3381, allocations: 31.84 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3384, allocations: 79.62 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.3387, allocations: 111.6 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3389, allocations: 71.81 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.3389, allocations: 15.88 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.339, allocations: 23.92 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3391, allocations: 31.84 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3391, allocations: 4 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3393, allocations: 95.94 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.3394, allocations: 23.86 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.3394, allocations: 15.88 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3396, allocations: 141.9 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.6719 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005105/0.3402, allocations: 329.7 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3402, allocations: 8.031 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3402, allocations: 8.891 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.3404, allocations: 138.4 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3404, allocations: 4.375 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3404, allocations: 384 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3406, allocations: 97.22 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3406, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3406, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3406, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.3407, allocations: 23.98 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3411, allocations: 232.4 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3413, allocations: 50.56 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.3414, allocations: 12.94 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3414, allocations: 4 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3414, allocations: 34.56 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3414, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005621/0.342, allocations: 149.4 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.3421, allocations: 81.11 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3422, allocations: 152.3 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3422, allocations: 29.64 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.3423, allocations: 100.1 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3423, allocations: 15.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3424, allocations: 29.64 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3425, allocations: 318.8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.3426, allocations: 19.98 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.3427, allocations: 63.39 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3428, allocations: 56.86 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3428, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.343, allocations: 89.8 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.343, allocations: 4 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.343, allocations: 0 / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3431, allocations: 7.938 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.3431, allocations: 11.98 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3431, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3432, allocations: 4 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3432, allocations: 4 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 9.144e-05/0.3433, allocations: 121.8 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3433, allocations: 7.953 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3436, allocations: 94.05 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3436, allocations: 288 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3436, allocations: 4 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3436, allocations: 7.922 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.344, allocations: 302.2 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.344, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.3441, allocations: 11.98 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3441, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3441, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3441, allocations: 4 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3441, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3444, allocations: 191.3 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.3444, allocations: 3.953 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3444, allocations: 12.23 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.3445, allocations: 4 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3445, allocations: 11.92 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3445, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3446, allocations: 111.3 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.3449, allocations: 43.8 kB / 0.5681 GB, free: 13.44 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 (5): * Single equations (assignments): 5 * 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.001936/0.3469, allocations: 0.5258 MB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3471, allocations: 55.91 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3471, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.3472, allocations: 23.98 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3475, allocations: 24.69 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.348, allocations: 173.5 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.3481, allocations: 83 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.3481, allocations: 23.77 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.3482, allocations: 15.38 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3482, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.00502/0.3532, allocations: 1.847 MB / 0.5708 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.882161348999944]