Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001553/0.001553, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001542/0.001542, allocations: 173 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 158.6 MB / 186 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1458/0.1458, allocations: 32.38 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.667e-05, allocations: 9.344 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002502/0.002539, allocations: 1.742 MB / 349.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003564, allocations: 0.7843 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.003662, allocations: 4 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.003923, allocations: 43.7 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.004101, allocations: 47.77 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.004303, allocations: 87.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.004439, allocations: 99.64 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.004522, allocations: 4.234 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.0046, allocations: 59.81 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.004662, allocations: 23.92 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004679, allocations: 4 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.004751, allocations: 43.91 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.004794, allocations: 27.86 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.004836, allocations: 15.94 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.004992, allocations: 95.66 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004994, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004995, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005, allocations: 4 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003253/0.005325, allocations: 435.9 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.005358, allocations: 8.031 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.005398, allocations: 20.84 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.005521, allocations: 152.2 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.005541, allocations: 4.375 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005557, allocations: 384 / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.005655, allocations: 62.94 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005663, allocations: 3.938 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.005672, allocations: 0 / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005678, allocations: 4 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.005712, allocations: 15.98 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.005951, allocations: 275.8 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.006033, allocations: 55.11 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.00606, allocations: 23.61 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.00607, allocations: 4 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.669e-05/0.006146, allocations: 65.05 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006147, allocations: 0 / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.006473, allocations: 149.4 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.006503, allocations: 55.41 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.006588, allocations: 219 kB / 352.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.006597, allocations: 33.64 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.00663, allocations: 150.8 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.006652, allocations: 27.78 kB / 352.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.006678, allocations: 31.36 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.00673, allocations: 0.4923 MB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.006752, allocations: 16.31 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.006781, allocations: 35.36 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.006828, allocations: 55.3 kB / 353.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00683, allocations: 4 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.993e-05/0.00692, allocations: 85.58 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.00693, allocations: 4 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006934, allocations: 0 / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.006945, allocations: 4 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.007004, allocations: 19.92 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007008, allocations: 0 / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.007035, allocations: 8 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.00704, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.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 (10): * Single equations (assignments): 10 * 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 4.936e-05/0.007089, allocations: 172.5 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.007102, allocations: 15.91 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.007221, allocations: 110.5 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007223, allocations: 0 / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007226, allocations: 0 / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.00723, allocations: 0 / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.007442, allocations: 389 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007444, allocations: 0 / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.007467, allocations: 11.98 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007469, allocations: 4.031 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007477, allocations: 4 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007478, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007479, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.007584, allocations: 259.4 kB / 354.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.007594, allocations: 7.953 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007609, allocations: 4 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.007646, allocations: 7.984 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.007672, allocations: 7.938 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.007683, allocations: 7.984 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.007728, allocations: 159.1 kB / 354.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007728, allocations: 0 / 354.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.007893, allocations: 31.92 kB / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0008067/0.008699, allocations: 443.7 kB / 354.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.008803, allocations: 55.53 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008804, allocations: 0 / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.008838, allocations: 31.67 kB / 355 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.009047, allocations: 35.95 kB / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.009341, allocations: 205.8 kB / 355.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.009381, allocations: 75.31 kB / 355.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.009412, allocations: 12.48 kB / 355.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.00944, allocations: 20.48 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.009441, allocations: 0 / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of Templates: time 0.003109/0.01255, allocations: 1.834 MB / 357.2 MB, free: 15.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.367901843972504]