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.001165/0.001165, 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.001235/0.001235, 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 1.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2796/0.2796, allocations: 32.81 MB / 294.3 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.461e-05, allocations: 2.312 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003623/0.003658, allocations: 1.766 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.005441, allocations: 1.013 MB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.005538, allocations: 3.938 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.005941, allocations: 43.77 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.006414, allocations: 107.5 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.006674, allocations: 79.66 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.006883, allocations: 107.6 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.006996, allocations: 11.98 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.007115, allocations: 51.84 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007218, allocations: 31.89 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.007241, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.007362, allocations: 47.86 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.007436, allocations: 27.86 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.00749, allocations: 23.92 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.00777, allocations: 115.6 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.007775, allocations: 4 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007777, allocations: 0 / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.007784, allocations: 0 / 379.5 MB, free: 1.113 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.0006607/0.008444, allocations: 471.6 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.008499, allocations: 8.031 kB / 380 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.008561, allocations: 16.84 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.008807, allocations: 173.2 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.008833, allocations: 4.375 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.008865, allocations: 4.375 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.009039, allocations: 66.94 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.009052, allocations: 3.938 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.009066, allocations: 0 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.009075, allocations: 0 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.009122, allocations: 11.98 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.009547, allocations: 295.8 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.009691, allocations: 55.17 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.009736, allocations: 23.61 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.009757, allocations: 4 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.009898, allocations: 68.98 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.009901, allocations: 3.984 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.01044, allocations: 165.3 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.01048, allocations: 59.34 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01072, allocations: 274.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.01074, allocations: 25.7 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.01083, allocations: 170.8 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.01087, allocations: 27.78 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.01092, allocations: 27.38 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.0111, allocations: 0.5079 MB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.01114, allocations: 12 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.01118, allocations: 31.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/0.01127, allocations: 59.23 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01127, allocations: 0 / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.01142, allocations: 85.59 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.01145, allocations: 8 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01145, allocations: 384 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01147, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01158, allocations: 23.95 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.01159, allocations: 8 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.01163, allocations: 4 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01164, allocations: 4 kB / 382.2 MB, free: 14.23 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.0001106/0.01175, allocations: 167.5 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.01178, allocations: 15.91 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.01201, allocations: 115.2 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01201, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01201, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01202, allocations: 3.984 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.01245, allocations: 409 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01245, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.0125, allocations: 11.98 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01251, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01252, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.01252, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01252, allocations: 4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.01274, allocations: 259.4 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01276, allocations: 19.84 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01278, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.01287, allocations: 8.016 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.01291, allocations: 11.92 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.01293, allocations: 8 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01307, allocations: 196.5 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01307, allocations: 0 / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.01336, allocations: 27.94 kB / 383.4 MB, free: 12.91 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.001363/0.01472, allocations: 435.8 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.01488, allocations: 55.58 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01488, allocations: 4.062 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.01494, allocations: 35.61 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.0153, allocations: 35.75 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.01581, allocations: 254.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.01587, allocations: 75.31 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.01591, allocations: 13.28 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.01595, allocations: 24.55 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01596, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005231/0.02119, allocations: 1.891 MB / 386.2 MB, free: 10.23 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] 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","",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.419492779299617]