Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001064/0.001064, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001453/0.001453, allocations: 165 kB / 24.56 MB, free: 12 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.9913/0.9913, allocations: 177.1 MB / 205 MB, free: 5.609 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.2708/0.2708, 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.524e-05, allocations: 5.969 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002769/0.002805, allocations: 1.77 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.004129, allocations: 1.009 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004241, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.004574, allocations: 59.69 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.004944, allocations: 95.48 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.005179, allocations: 83.59 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005368, allocations: 111.7 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005473, allocations: 4 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.005565, allocations: 63.77 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.005647, allocations: 23.91 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005666, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.005765, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.005824, allocations: 35.86 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.005873, allocations: 27.84 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.006077, allocations: 107.6 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.006083, allocations: 4 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.006084, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.00609, allocations: 0 / 381.6 MB, free: 15.11 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.0005684/0.006658, allocations: 491.5 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.006704, allocations: 12.03 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.006769, allocations: 16.84 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.00699, allocations: 164.3 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.007012, allocations: 384 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.007037, allocations: 4.375 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.00721, allocations: 62.88 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007222, allocations: 7.938 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.007233, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.007245, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.007285, allocations: 11.98 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.007637, allocations: 303.8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.007757, allocations: 55.11 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.007791, allocations: 19.62 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.007807, allocations: 4 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.007923, allocations: 65.05 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007925, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004532/0.008378, allocations: 177.2 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.008416, allocations: 55.41 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.00859, allocations: 282.6 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.008605, allocations: 25.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.008676, allocations: 166.9 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.008707, allocations: 27.78 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.008742, allocations: 27.38 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.008873, allocations: 0.5079 MB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.008904, allocations: 8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.008944, allocations: 43.23 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.009009, allocations: 51.3 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009011, allocations: 4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001382/0.009149, allocations: 101.6 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.009165, allocations: 5.719 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.00917, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.009185, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.009273, allocations: 19.98 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.00928, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.009313, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.009322, allocations: 7.984 kB / 384.2 MB, free: 12.21 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.633e-05/0.009408, allocations: 168.5 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.009429, allocations: 23.89 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.009607, allocations: 107.1 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009611, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009615, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.00962, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.009955, allocations: 413 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009956, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.009988, allocations: 11.98 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009991, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01, allocations: 4 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01, allocations: 4.031 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01001, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01016, allocations: 263.4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01018, allocations: 11.91 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.0102, allocations: 4 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.01024, allocations: 8.359 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.01027, allocations: 7.984 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01029, allocations: 4 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.01039, allocations: 204.5 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.01057, allocations: 31.94 kB / 385.5 MB, free: 10.88 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.0009513/0.01152, allocations: 449 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01166, allocations: 51.66 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01167, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.01171, allocations: 35.61 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01197, allocations: 29.55 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.01239, allocations: 270.6 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.01243, allocations: 79.27 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.01247, allocations: 12.97 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01251, allocations: 16.5 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01251, allocations: 0 / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004281/0.01679, allocations: 2.039 MB / 388.4 MB, free: 8.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.292146862950176]