Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.001895/0.001895, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.002206/0.002206, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.404/1.404, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1989/0.1989, allocations: 32.81 MB / 293.5 MB, free: 28 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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.506e-05, allocations: 2.281 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002821/0.002846, allocations: 1.708 MB / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004564, allocations: 0.9742 MB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.004632, allocations: 4 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.004899, allocations: 35.78 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.005207, allocations: 99.47 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.005403, allocations: 87.53 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.005586, allocations: 99.7 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.005673, allocations: 11.97 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.005775, allocations: 55.78 kB / 443.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.005856, allocations: 27.91 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.005877, allocations: 4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.005971, allocations: 39.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.006035, allocations: 23.92 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.006085, allocations: 27.84 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.006293, allocations: 107.6 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.006298, allocations: 7.938 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006299, allocations: 4 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006303, allocations: 0 / 443.5 MB, free: 4.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005362/0.00684, allocations: 345.5 kB / 443.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.006872, allocations: 8.031 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.006922, allocations: 20.84 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007144, allocations: 154.3 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.007156, allocations: 384 / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.007181, allocations: 8.359 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.007324, allocations: 54.23 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.007338, allocations: 11.88 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.007347, allocations: 0 / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.007351, allocations: 0 / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.007428, allocations: 27.92 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.007784, allocations: 228.6 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.00796, allocations: 58.67 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.008018, allocations: 20.8 kB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.008032, allocations: 0 / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.008183, allocations: 75.31 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.008184, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005521/0.008736, allocations: 181.3 kB / 444.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.008778, allocations: 51.41 kB / 444.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.00898, allocations: 206.2 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.009, allocations: 25.7 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.009067, allocations: 104.1 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.009098, allocations: 23.8 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.009146, allocations: 25.7 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.009278, allocations: 322.8 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.009342, allocations: 23.98 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.009411, allocations: 37.7 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.009541, allocations: 77.62 kB / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.009542, allocations: 0 / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.009738, allocations: 101.6 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00975, allocations: 4 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.009756, allocations: 4 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009768, allocations: 3.938 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.009859, allocations: 16.17 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009863, allocations: 4.031 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.009909, allocations: 8.312 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.009918, allocations: 4 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001079/0.01003, allocations: 133.8 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.01005, allocations: 7.953 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.01031, allocations: 127.1 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01031, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01031, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01032, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.01076, allocations: 366.8 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.01077, allocations: 3.984 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.01081, allocations: 11.98 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01081, allocations: 0 / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01082, allocations: 8 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.01083, allocations: 3.938 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01083, allocations: 0 / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.01109, allocations: 212.2 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.0111, allocations: 11.91 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01113, allocations: 3.984 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.0112, allocations: 8.031 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.01125, allocations: 11.98 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01126, allocations: 4 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.0114, allocations: 152.2 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.01166, allocations: 27.94 kB / 446.7 MB, free: 1.207 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001742/0.0134, allocations: 489.2 kB / 447.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.01358, allocations: 67.89 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01358, allocations: 0 / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.01367, allocations: 31.92 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01401, allocations: 31.16 kB / 447.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.01445, allocations: 234.3 kB / 447.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.01454, allocations: 96.28 kB / 447.7 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.01459, allocations: 8.984 kB / 447.7 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.01463, allocations: 20.48 kB / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01463, allocations: 0 / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of Templates: time 0.1928/0.2074, allocations: 1.858 MB / 449.6 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.638580337166786]