Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009516/0.0009516, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001487/0.001487, allocations: 161 kB / 24.56 MB, free: 20 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.99/0.99, allocations: 177.2 MB / 205 MB, free: 5.281 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.2613/0.2613, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.438e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.006872/0.006897, allocations: 1.762 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.01144, allocations: 1.013 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.01153, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.01183, allocations: 43.66 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.01219, allocations: 95.53 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.01243, allocations: 75.66 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.01263, allocations: 119.5 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.01272, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.01282, allocations: 55.78 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.0129, allocations: 27.89 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.01291, allocations: 8 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.01303, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.01308, allocations: 19.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.01313, allocations: 23.92 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.01333, allocations: 99.59 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01333, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01333, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.01334, allocations: 0 / 381.5 MB, free: 15.16 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.000511/0.01385, allocations: 447.9 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.01389, allocations: 11.97 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.01696, allocations: 20.84 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.01718, allocations: 153.8 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.01719, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.01722, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.01736, allocations: 58.94 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01737, allocations: 7.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.01739, allocations: 7.984 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.01739, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.01744, allocations: 11.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.01778, allocations: 287.7 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.0179, allocations: 55.16 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.01794, allocations: 23.62 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01796, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.01807, allocations: 68.98 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01807, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004322/0.0185, allocations: 153.6 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.01853, allocations: 51.41 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.0187, allocations: 234.3 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.01872, allocations: 29.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.01878, allocations: 154.8 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.01881, allocations: 27.78 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.01886, allocations: 31.38 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.01899, allocations: 0.4962 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.01903, allocations: 11.98 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.01907, allocations: 35.48 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.01915, allocations: 59.31 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01915, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.01929, allocations: 93.58 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01931, allocations: 4 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01931, allocations: 12.02 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01933, allocations: 3.938 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.01941, allocations: 12 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01942, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.01945, allocations: 4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01946, allocations: 4 kB / 384 MB, free: 12.39 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 8.206e-05/0.01955, allocations: 164.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.01957, allocations: 11.95 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.01975, allocations: 107.1 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01975, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01975, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01976, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.02313, allocations: 396.9 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02314, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.02317, allocations: 8 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.02318, allocations: 3.984 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.02319, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02319, allocations: 3.938 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02319, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.02338, allocations: 255.4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.02339, allocations: 15.94 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.02342, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.02348, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.02352, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.02354, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.02364, allocations: 176.1 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02364, allocations: 3.938 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.02393, allocations: 27.94 kB / 385.2 MB, free: 11.13 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.001087/0.02502, allocations: 441.6 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.02515, allocations: 55.59 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02516, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.02521, allocations: 31.61 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.02553, allocations: 41.22 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.02897, allocations: 222 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.02903, allocations: 63.34 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.02908, allocations: 17.09 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.02911, allocations: 16.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02911, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.00726/0.03637, allocations: 1.871 MB / 388 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.456489962991327]