Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001048/0.001048, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001813/0.001813, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.602 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.2841/0.2841, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 4 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/3.098e-05, allocations: 5.125 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.006114/0.006145, allocations: 1.949 MB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.0109, allocations: 1.103 MB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.011, allocations: 4 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.01155, allocations: 263.2 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.01206, allocations: 227.1 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.01237, allocations: 127.5 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.01271, allocations: 279.2 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.01282, allocations: 17.95 kB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.01302, allocations: 163.5 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.01625, allocations: 187.6 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.01628, allocations: 8 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.01642, allocations: 71.89 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.0165, allocations: 63.72 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.01657, allocations: 47.78 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.01688, allocations: 207.1 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01689, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01689, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01689, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006799/0.01757, allocations: 0.6274 MB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.01761, allocations: 8.031 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.01769, allocations: 36.7 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.01797, allocations: 234.9 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.018, allocations: 8.359 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.01803, allocations: 12.38 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.01824, allocations: 121.9 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01826, allocations: 7.875 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.01827, allocations: 3.938 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.01828, allocations: 4 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.01835, allocations: 31.97 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.01889, allocations: 0.5258 MB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.0222, allocations: 114.2 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.02226, allocations: 39.48 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.02228, allocations: 3.938 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.02245, allocations: 112.4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.02245, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009982/0.02345, allocations: 489.1 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.02349, allocations: 85.05 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.02385, allocations: 430.8 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.02387, allocations: 33.7 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.024, allocations: 227.3 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.02406, allocations: 67.39 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.02427, allocations: 51.36 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.02442, allocations: 0.5274 MB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.02449, allocations: 35.98 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.02458, allocations: 74.72 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.02474, allocations: 134.8 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02474, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.003283/0.02803, allocations: 205.2 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.02804, allocations: 8 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.02805, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.02807, allocations: 8.062 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.02819, allocations: 39.92 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.0282, allocations: 7.938 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.02826, allocations: 11.98 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.02827, allocations: 4 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.00011/0.02838, allocations: 176.5 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.02843, allocations: 43.77 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.02879, allocations: 229.2 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02879, allocations: 4 kB / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.0288, allocations: 11.92 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.0288, allocations: 0 / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.02951, allocations: 0.7606 MB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.02951, allocations: 7.984 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.02959, allocations: 27.94 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.02959, allocations: 4 kB / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.02961, allocations: 11.98 kB / 386.3 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.02961, allocations: 4 kB / 386.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02962, allocations: 8.109 kB / 386.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.03, allocations: 0.5121 MB / 386.9 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.03003, allocations: 31.75 kB / 386.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.03006, allocations: 8 kB / 386.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.03018, allocations: 8 kB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.03023, allocations: 15.97 kB / 386.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.03025, allocations: 19.98 kB / 386.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.03048, allocations: 299 kB / 387.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03048, allocations: 0 / 387.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003365/0.03384, allocations: 47.94 kB / 387.3 MB, free: 8.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001122/0.03496, allocations: 0.4911 MB / 387.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.03518, allocations: 128 kB / 387.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03518, allocations: 8.125 kB / 387.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.03526, allocations: 71.53 kB / 388 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.03563, allocations: 73.11 kB / 388 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.03627, allocations: 0.5246 MB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.297e-05/0.03635, allocations: 108.3 kB / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.397e-05/0.03642, allocations: 33.92 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.03648, allocations: 36.48 kB / 388.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03648, allocations: 0 / 388.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of Templates: time 0.006202/0.04269, allocations: 3.364 MB / 392.1 MB, free: 4.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.454498209990561]