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.0009507/0.0009507, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009111/0.0009111, allocations: 165 kB / 24.56 MB, free: 16 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 0.8962/0.8962, allocations: 177.2 MB / 205 MB, free: 5.293 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.2314/0.2314, allocations: 32.81 MB / 294.3 MB, free: 1.242 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.936e-06/2.936e-06, allocations: 4 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.201e-05, allocations: 8.781 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002044/0.002066, allocations: 1.793 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003146, allocations: 1.001 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.003208, allocations: 4 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.003486, allocations: 95.61 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.003756, allocations: 131.4 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.003897, allocations: 79.61 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004057, allocations: 123.7 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.00414, allocations: 11.98 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.004221, allocations: 67.75 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.004312, allocations: 63.86 kB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.004327, allocations: 4 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.004413, allocations: 63.91 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.004461, allocations: 31.86 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.004498, allocations: 23.92 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004666, allocations: 119.5 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004669, allocations: 4 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004669, allocations: 0 / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004673, allocations: 0 / 379.7 MB, free: 0.9609 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.0004376/0.005111, allocations: 467.7 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.005148, allocations: 11.97 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.0052, allocations: 20.84 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005363, allocations: 157.2 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.00538, allocations: 8.375 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.005399, allocations: 4.375 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.005514, allocations: 70.88 kB / 380.4 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.005525, allocations: 3.938 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.005534, allocations: 0 / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.005541, allocations: 0 / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.005577, allocations: 15.98 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.005873, allocations: 303.7 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.006037, allocations: 70.91 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.006067, allocations: 15.69 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.006078, allocations: 7.984 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.908e-05/0.006168, allocations: 65.17 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.006169, allocations: 0 / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004744/0.006643, allocations: 225.7 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.006675, allocations: 59.34 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.006815, allocations: 255.1 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.006827, allocations: 29.7 kB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.006882, allocations: 158.9 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.006916, allocations: 47.69 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.006952, allocations: 31.38 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.00707, allocations: 0.5039 MB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.007098, allocations: 20 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.007137, allocations: 39.36 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.00721, allocations: 63.36 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007211, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000115/0.007326, allocations: 109.5 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007338, allocations: 9.562 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007342, allocations: 4.031 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.007352, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.007404, allocations: 31.86 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.007408, allocations: 0 / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.007435, allocations: 4 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.007441, allocations: 4 kB / 382.5 MB, free: 13.96 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 6.528e-05/0.007507, allocations: 164.5 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.007524, allocations: 15.91 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.007683, allocations: 135 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007685, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007688, allocations: 8 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007691, allocations: 0 / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.007996, allocations: 444.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.007998, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.008028, allocations: 15.98 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.008031, allocations: 4 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008039, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008041, allocations: 4 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.008043, allocations: 3.938 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.008189, allocations: 295.5 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.008201, allocations: 15.89 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.008218, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.00826, allocations: 8 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.008291, allocations: 11.92 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.008304, allocations: 4 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.00838, allocations: 183.1 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00838, allocations: 0 / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000169/0.008549, allocations: 27.94 kB / 383.8 MB, free: 12.55 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.0008928/0.009442, allocations: 0.4904 MB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.009559, allocations: 71.53 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00956, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.009604, allocations: 39.8 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.009828, allocations: 42.88 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.01017, allocations: 269.4 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.01021, allocations: 71.33 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01025, allocations: 20.62 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.01029, allocations: 20.5 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01029, allocations: 4 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003897/0.01418, allocations: 2.272 MB / 387.1 MB, free: 9.426 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: 2.864228075835854]