Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001285/0.001285, allocations: 82.58 kB / 20.68 MB, free: 1.035 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.001503/0.001503, allocations: 163.3 kB / 23.96 MB, free: 4.164 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.383/1.383, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.813e-05, allocations: 6.219 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003085/0.003113, allocations: 1.627 MB / 441.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004316, allocations: 0.5453 MB / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.004406, allocations: 0 / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.004737, allocations: 99.61 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.005093, allocations: 111.5 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.005394, allocations: 91.69 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.005603, allocations: 103.7 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.005712, allocations: 15.98 kB / 442.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.005814, allocations: 59.81 kB / 442.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.00593, allocations: 59.86 kB / 442.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.005952, allocations: 4 kB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.006071, allocations: 51.91 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.006136, allocations: 27.92 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.006176, allocations: 15.88 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.006397, allocations: 123.6 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006401, allocations: 3.938 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006402, allocations: 0 / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.006411, allocations: 0 / 443 MB, free: 5.191 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005582/0.006969, allocations: 369.4 kB / 443.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.007005, allocations: 8.031 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.007055, allocations: 20.78 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.007274, allocations: 153.5 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-06/0.00728, allocations: 384 / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.007313, allocations: 8.375 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.007493, allocations: 74.16 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.007505, allocations: 192 / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.007518, allocations: 4.125 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.007522, allocations: 4 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.007644, allocations: 39.97 kB / 443.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.008058, allocations: 264.4 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.0082, allocations: 70.41 kB / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.008276, allocations: 24.84 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.008296, allocations: 4.156 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.00832, allocations: 30.56 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.008321, allocations: 0 / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.009384, allocations: 305.1 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.009427, allocations: 55.41 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.009671, allocations: 239.5 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.009695, allocations: 33.7 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.00977, allocations: 104.1 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.009813, allocations: 47.62 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.009859, allocations: 29.72 kB / 444.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01001, allocations: 334.8 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.0101, allocations: 31.98 kB / 445.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.01019, allocations: 38.72 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.01039, allocations: 88.83 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01039, allocations: 0 / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002713/0.01066, allocations: 137.6 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01068, allocations: 8 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01068, allocations: 0 / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.0107, allocations: 7.938 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01082, allocations: 23.98 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01082, allocations: 0 / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.01088, allocations: 16.05 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01089, allocations: 15.88 kB / 445.6 MB, free: 2.477 MB / 366.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 (13): * Single equations (assignments): 13 * 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 0.0001132/0.01101, allocations: 131 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.01105, allocations: 15.91 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.01142, allocations: 183 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01142, allocations: 0 / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01143, allocations: 4 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.01143, allocations: 0 / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.01203, allocations: 402.9 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01203, allocations: 3.938 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.01213, allocations: 27.92 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01213, allocations: 8.016 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01215, allocations: 7.938 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01215, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01215, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.01247, allocations: 236.3 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01249, allocations: 11.91 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01251, allocations: 11.92 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.01259, allocations: 11.94 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.01264, allocations: 7.984 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01264, allocations: 8 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.01281, allocations: 185.1 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01281, allocations: 0 / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.01308, allocations: 24 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001776/0.01486, allocations: 488.9 kB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01514, allocations: 107.2 kB / 447.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01514, allocations: 0 / 447.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01525, allocations: 43.98 kB / 447.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.01559, allocations: 26.92 kB / 447.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.01622, allocations: 314.9 kB / 447.8 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01633, allocations: 101.1 kB / 447.9 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.0164, allocations: 24.47 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.01644, allocations: 20.5 kB / 447.9 MB, free: 216 kB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01645, allocations: 0 / 447.9 MB, free: 216 kB / 366.1 MB Notification: Performance of Templates: time 0.1627/0.1791, allocations: 1.538 MB / 449.5 MB, free: 21.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.543497331440449]