Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0008683/0.0008683, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.004015/0.004015, allocations: 156.5 kB / 24.7 MB, free: 8.902 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.8878/0.8878, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 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.2497/0.2497, allocations: 32.79 MB / 294.2 MB, free: 1.223 MB / 266.7 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.185e-05, allocations: 2.281 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004833/0.004875, allocations: 1.677 MB / 442.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.006251, allocations: 0.9567 MB / 443.6 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.006357, allocations: 0 / 443.6 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.00672, allocations: 71.66 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.007094, allocations: 111.5 kB / 443.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.007305, allocations: 71.67 kB / 443.8 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.00749, allocations: 111.6 kB / 443.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.007544, allocations: 8.219 kB / 443.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.007649, allocations: 55.83 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007759, allocations: 51.81 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.007778, allocations: 4 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.007868, allocations: 31.92 kB / 444.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.007933, allocations: 23.92 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.007975, allocations: 15.92 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.008175, allocations: 103.7 kB / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008178, allocations: 0 / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.00818, allocations: 0 / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.008185, allocations: 0 / 444.2 MB, free: 376 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004785/0.008664, allocations: 337.6 kB / 444.5 MB, free: 8 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.008705, allocations: 8.031 kB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.008805, allocations: 16.41 kB / 444.6 MB, free: 46.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.009094, allocations: 144.2 kB / 444.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.009109, allocations: 3.5 kB / 444.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.009119, allocations: 5 kB / 444.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.009248, allocations: 49.94 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.009257, allocations: 5.875 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.009266, allocations: 0 / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.009272, allocations: 0.7812 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.009322, allocations: 19.84 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.00945, allocations: 137.2 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.009553, allocations: 50.23 kB / 445 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.009584, allocations: 24.14 kB / 445 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.009597, allocations: 0 / 445 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.00971, allocations: 70.2 kB / 445.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.009711, allocations: 0 / 445.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002032/0.009914, allocations: 103 kB / 445.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.009938, allocations: 51.41 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.01005, allocations: 199.4 kB / 445.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.01006, allocations: 30.19 kB / 445.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.01009, allocations: 100.6 kB / 445.5 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.01012, allocations: 17.75 kB / 445.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.01014, allocations: 16.41 kB / 445.6 MB, free: 46.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.01018, allocations: 327.7 kB / 445.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.01022, allocations: 17.78 kB / 445.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.01025, allocations: 31.17 kB / 445.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.778e-05/0.01031, allocations: 47.88 kB / 446 MB, free: 45.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01031, allocations: 2.188 kB / 446 MB, free: 45.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.839e-05/0.0104, allocations: 89.25 kB / 446.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01041, allocations: 5.75 kB / 446.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01042, allocations: 0 / 446.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01043, allocations: 5.625 kB / 446.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.01049, allocations: 14.7 kB / 446.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.0105, allocations: 3.938 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.01053, allocations: 6.672 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.01053, allocations: 2.844 kB / 446.1 MB, free: 45.72 MB / 410.7 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 (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 prepare postOptimizeDAE: time 6.403e-05/0.0106, allocations: 127.5 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.01061, allocations: 10.39 kB / 446.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.01078, allocations: 94.95 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01078, allocations: 1.688 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01078, allocations: 2.719 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01079, allocations: 7.172 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.747e-05/0.01086, allocations: 134.5 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01086, allocations: 0 / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.01088, allocations: 9.125 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01088, allocations: 3.188 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01089, allocations: 0 / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01089, allocations: 5.938 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01089, allocations: 0 / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.974e-05/0.01098, allocations: 121.6 kB / 446.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.01099, allocations: 14.31 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.01101, allocations: 0 / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.01103, allocations: 6.781 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.01105, allocations: 3.234 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.01107, allocations: 2.938 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.01113, allocations: 155.2 kB / 446.8 MB, free: 45.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 0 / 446.8 MB, free: 45.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.01128, allocations: 29.52 kB / 446.8 MB, free: 45.28 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.0006976/0.01198, allocations: 426.9 kB / 447.2 MB, free: 45.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.0121, allocations: 46.83 kB / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0121, allocations: 0 / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.01213, allocations: 26 kB / 447.3 MB, free: 45.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.01232, allocations: 29.2 kB / 447.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.01266, allocations: 239.3 kB / 447.6 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.0127, allocations: 95.38 kB / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.01273, allocations: 14.84 kB / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01273, allocations: 0 / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002409/0.01514, allocations: 1.78 MB / 449.5 MB, free: 44.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.871118197217584]