Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001941/0.001941, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002243/0.002243, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3721/0.3721, allocations: 32.8 MB / 293.9 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.042e-05, allocations: 2.312 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003428/0.003459, allocations: 1.723 MB / 377.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.005471, allocations: 0.9742 MB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.005542, allocations: 0 / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.005872, allocations: 51.69 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.006224, allocations: 107.5 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.006448, allocations: 75.66 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.00665, allocations: 111.6 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.006741, allocations: 7.984 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.006861, allocations: 51.83 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.006952, allocations: 23.92 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.006979, allocations: 4 kB / 378.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.007091, allocations: 51.84 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.007163, allocations: 35.84 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.00722, allocations: 15.94 kB / 378.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.007483, allocations: 131.5 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007486, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007487, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007492, allocations: 4 kB / 378.7 MB, free: 1.547 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006592/0.008151, allocations: 377.3 kB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.00819, allocations: 12.03 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.008271, allocations: 20.84 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.008567, allocations: 158.4 kB / 379.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.00858, allocations: 384 / 379.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.00861, allocations: 8.375 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.008769, allocations: 54.23 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.008783, allocations: 3.938 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.008793, allocations: 0 / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.008797, allocations: 7.938 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.008884, allocations: 23.97 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.009318, allocations: 244.5 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.009645, allocations: 58.67 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.009714, allocations: 24.78 kB / 379.7 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.009732, allocations: 4 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.009901, allocations: 63.39 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009902, allocations: 0 / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006621/0.01056, allocations: 197.2 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.01062, allocations: 59.34 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.01097, allocations: 276.1 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.011, allocations: 29.7 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01111, allocations: 120 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.01115, allocations: 23.8 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.0112, allocations: 21.7 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.0114, allocations: 330.8 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.01146, allocations: 19.98 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.01154, allocations: 33.7 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01169, allocations: 77.56 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01169, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002275/0.01192, allocations: 105.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01194, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.01194, allocations: 0 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.01196, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.01207, allocations: 19.92 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.01208, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.01213, allocations: 12.41 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01214, allocations: 4 kB / 381 MB, free: 15.01 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 0.0001364/0.01228, allocations: 133.8 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.01232, allocations: 27.88 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01261, allocations: 127.2 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01262, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01262, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01262, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.01316, allocations: 362.9 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01317, allocations: 4.031 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.01321, allocations: 15.92 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01321, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01323, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01323, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01323, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.01355, allocations: 220.2 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01357, allocations: 11.91 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01359, allocations: 4 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.01367, allocations: 4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.01371, allocations: 15.92 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01373, allocations: 4 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.01396, allocations: 212.5 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01396, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01424, allocations: 27.94 kB / 382.2 MB, free: 13.78 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.002317/0.01656, allocations: 494.2 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.01677, allocations: 63.84 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01677, allocations: 0 / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.01686, allocations: 31.92 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.01726, allocations: 39.69 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.01786, allocations: 298 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.01799, allocations: 105.2 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.01804, allocations: 21.27 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.01809, allocations: 20.5 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01809, allocations: 0 / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.005991/0.02408, allocations: 1.892 MB / 385.1 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.879791190032847]