Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009599/0.0009599, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.0009547/0.0009547, allocations: 160.9 kB / 24.99 MB, free: 9.324 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 1.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2672/0.2672, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.095e-05/4.344e-05, allocations: 2.312 kB / 376.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00348/0.003523, allocations: 1.792 MB / 377.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004836, allocations: 1.009 MB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.004925, allocations: 0 / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.005269, allocations: 95.61 kB / 379 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005615, allocations: 123.4 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.005835, allocations: 87.59 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.006017, allocations: 119.7 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.00613, allocations: 7.984 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.006224, allocations: 75.75 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006327, allocations: 63.86 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.006343, allocations: 4 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006446, allocations: 59.91 kB / 379.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.006501, allocations: 31.86 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.006542, allocations: 19.92 kB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.006738, allocations: 131.4 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006741, allocations: 0 / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006742, allocations: 0 / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006746, allocations: 0 / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004872/0.007233, allocations: 459.8 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.007269, allocations: 8.031 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.007323, allocations: 28.78 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.007499, allocations: 161.2 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.007517, allocations: 384 / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.007539, allocations: 12.36 kB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.007676, allocations: 66.88 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007687, allocations: 3.938 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.007697, allocations: 0 / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.007705, allocations: 4 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.007742, allocations: 11.98 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.008069, allocations: 303.7 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.008248, allocations: 70.92 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.00828, allocations: 15.67 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.008292, allocations: 4 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008407, allocations: 65.17 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.008409, allocations: 0 / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005345/0.008943, allocations: 225.7 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.008978, allocations: 51.41 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.009136, allocations: 267.1 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.009153, allocations: 25.7 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.009214, allocations: 162.8 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.00925, allocations: 39.77 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.009288, allocations: 39.3 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.009402, allocations: 0.504 MB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.009433, allocations: 19.98 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.009478, allocations: 46.61 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.988e-05/0.009548, allocations: 59.36 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.009549, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000134/0.009683, allocations: 113.5 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.009695, allocations: 5.875 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.0097, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.009713, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.009777, allocations: 31.92 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009782, allocations: 3.938 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.009812, allocations: 4 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.009818, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.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 (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 7.764e-05/0.009895, allocations: 172.5 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.009916, allocations: 27.94 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.0101, allocations: 123.1 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.0101, allocations: 0 / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.0101, allocations: 0 / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01011, allocations: 7.984 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.01044, allocations: 436.6 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01044, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.01048, allocations: 19.94 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01048, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01049, allocations: 8.062 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.0105, allocations: 7.984 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.0105, allocations: 3.938 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01067, allocations: 283.1 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.01068, allocations: 15.91 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.0107, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.01075, allocations: 11.98 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.01078, allocations: 11.92 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.01079, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.01088, allocations: 183.1 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.01107, allocations: 31.94 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001089/0.01216, allocations: 495.5 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01232, allocations: 67.59 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01232, allocations: 4.062 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.01237, allocations: 43.61 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01262, allocations: 28.08 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.01303, allocations: 277.3 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.01308, allocations: 71.33 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.01312, allocations: 20.77 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.01316, allocations: 20.5 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01316, allocations: 0 / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.004195/0.01735, allocations: 2.126 MB / 386.9 MB, free: 9.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.2058158840518445]