Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001621/0.001621, 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.001533/0.001533, allocations: 161 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.9868/0.9868, allocations: 177.1 MB / 205 MB, free: 5.598 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.2566/0.2566, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.847e-05, allocations: 5.266 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002187/0.002205, allocations: 1.762 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.00369, allocations: 1.013 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.003768, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.004071, allocations: 87.62 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.004385, allocations: 115.5 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004589, allocations: 83.55 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004752, allocations: 127.6 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.004843, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.004928, allocations: 67.75 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.005014, allocations: 51.88 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00503, allocations: 4 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.00511, allocations: 51.91 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.005157, allocations: 23.92 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.005195, allocations: 23.86 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.005379, allocations: 99.66 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005381, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005382, allocations: 3.938 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005386, allocations: 0 / 381.6 MB, free: 15.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004742/0.00586, allocations: 455.8 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.005901, allocations: 15.97 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.005944, allocations: 12.84 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006111, allocations: 152.4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.006129, allocations: 384 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.006154, allocations: 12.31 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006271, allocations: 58.94 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006281, allocations: 11.94 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.006289, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.006296, allocations: 3.938 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.006329, allocations: 12 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.006616, allocations: 287.8 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.006711, allocations: 51.16 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.006741, allocations: 27.56 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006755, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.842e-05/0.006843, allocations: 69.05 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.006844, allocations: 4 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003526/0.007197, allocations: 161.3 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.007223, allocations: 55.41 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007359, allocations: 242.7 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007372, allocations: 29.7 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.007432, allocations: 154.9 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.007458, allocations: 27.75 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.00749, allocations: 31.36 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007595, allocations: 0.4962 MB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.00762, allocations: 15.98 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.007653, allocations: 35.31 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.007711, allocations: 55.38 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007712, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.007813, allocations: 97.55 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.007825, allocations: 4 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00783, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.007844, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.007916, allocations: 19.98 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.007921, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.007949, allocations: 8.031 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.007956, allocations: 7.938 kB / 384.2 MB, free: 12.24 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 (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 7.596e-05/0.008032, allocations: 164.5 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.008052, allocations: 27.88 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.008194, allocations: 99.14 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008196, allocations: 0 / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.008199, allocations: 0 / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008203, allocations: 7.922 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.008498, allocations: 397 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008499, allocations: 4.031 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.008526, allocations: 11.94 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008528, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008538, allocations: 7.984 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008539, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.00854, allocations: 384 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.008675, allocations: 259.4 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.008687, allocations: 7.953 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.008704, allocations: 8 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.008744, allocations: 4 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.008775, allocations: 11.98 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.008787, allocations: 4 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.358e-05/0.008871, allocations: 189 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008871, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.009042, allocations: 27.94 kB / 385.4 MB, free: 10.95 MB / 362.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.000886/0.009928, allocations: 431.9 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01004, allocations: 51.59 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01004, allocations: 0 / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.01008, allocations: 39.67 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01031, allocations: 30.47 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.01065, allocations: 236.6 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01069, allocations: 79.2 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.01072, allocations: 12.97 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.01076, allocations: 20.5 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01076, allocations: 0 / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003854/0.01461, allocations: 1.886 MB / 388.2 MB, free: 8.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.213295509107411]