Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001004/0.001004, allocations: 71.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.001054/0.001054, allocations: 170.6 kB / 24.99 MB, free: 8.789 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.28/0.28, allocations: 34.27 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.708e-05, allocations: 2.312 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.005112/0.005129, allocations: 2.251 MB / 380.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.00661, allocations: 1.302 MB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.006764, allocations: 7.938 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.007121, allocations: 127.3 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.007527, allocations: 274.6 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.007781, allocations: 195.4 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.00813, allocations: 470.5 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.008268, allocations: 49.23 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.008589, allocations: 383.1 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.008734, allocations: 139.5 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.008764, allocations: 20 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.008877, allocations: 75.91 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.008994, allocations: 163.4 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.009078, allocations: 103.4 kB / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.009407, allocations: 378.3 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00941, allocations: 0 / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00941, allocations: 0 / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.009415, allocations: 4 kB / 384 MB, free: 12.96 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007747/0.01019, allocations: 0.9457 MB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01023, allocations: 8.031 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.01032, allocations: 88.42 kB / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.01064, allocations: 377.1 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.01067, allocations: 12.36 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.0107, allocations: 16.38 kB / 385.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.01094, allocations: 193.5 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01095, allocations: 11.89 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.01096, allocations: 4 kB / 385.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.01097, allocations: 4 kB / 385.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.01106, allocations: 63.86 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.01167, allocations: 0.9687 MB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.01198, allocations: 232.4 kB / 386.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.01206, allocations: 78.84 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.01207, allocations: 4 kB / 387 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.01226, allocations: 197.2 kB / 387.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.182e-06/0.01226, allocations: 0 / 387.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001275/0.01353, allocations: 1.116 MB / 388.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.01359, allocations: 140.5 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.01407, allocations: 0.7535 MB / 389.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.0141, allocations: 45.69 kB / 389.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.01426, allocations: 339.7 kB / 389.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.01434, allocations: 154.7 kB / 389.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.01441, allocations: 87.8 kB / 389.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01451, allocations: 0.4925 MB / 390.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.0146, allocations: 68.95 kB / 390.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.01473, allocations: 166.4 kB / 390.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.01504, allocations: 249.7 kB / 390.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01504, allocations: 0 / 390.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004026/0.01544, allocations: 380.8 kB / 391.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01546, allocations: 14 kB / 391.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.01546, allocations: 0 / 391.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01547, allocations: 4 kB / 391.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01563, allocations: 87.89 kB / 391.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01563, allocations: 7.938 kB / 391.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.01571, allocations: 12 kB / 391.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01573, allocations: 23.98 kB / 391.3 MB, free: 5.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001123/0.01584, allocations: 190.9 kB / 391.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.01591, allocations: 95.47 kB / 391.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.01639, allocations: 448.7 kB / 392 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01639, allocations: 4 kB / 392 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01639, allocations: 0 / 392 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.0164, allocations: 4 kB / 392 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.01741, allocations: 1.429 MB / 393.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.01742, allocations: 256 / 393.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.01758, allocations: 67.91 kB / 393.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01759, allocations: 7.938 kB / 393.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.01762, allocations: 27.92 kB / 393.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.01762, allocations: 4 kB / 393.6 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.01763, allocations: 4 kB / 393.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.01841, allocations: 0.9733 MB / 394.5 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.01854, allocations: 103.5 kB / 394.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.01859, allocations: 12 kB / 394.6 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01874, allocations: 23.98 kB / 394.7 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.0188, allocations: 47.81 kB / 394.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.01883, allocations: 23.98 kB / 394.7 MB, free: 1.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.01916, allocations: 0.4912 MB / 395.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01916, allocations: 0 / 395.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.0195, allocations: 99.89 kB / 395.3 MB, free: 1.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00109/0.02059, allocations: 0.4978 MB / 395.8 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.0209, allocations: 255.7 kB / 396.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0209, allocations: 0 / 396.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.02105, allocations: 141 kB / 396.2 MB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.0216, allocations: 154.3 kB / 396.4 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.0227, allocations: 1.05 MB / 397.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.02282, allocations: 162.1 kB / 397.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.02296, allocations: 75.23 kB / 397.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.02304, allocations: 56.48 kB / 397.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02305, allocations: 0 / 397.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Templates: time 0.008416/0.03146, allocations: 5.801 MB / 403.5 MB, free: 9.086 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.390939119970426]