Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.002528/0.002528, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002884/0.002884, allocations: 165.6 kB / 24.28 MB, free: 156 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3464/0.3464, allocations: 32.81 MB / 293.9 MB, free: 1.199 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.322e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003574/0.003607, allocations: 1.688 MB / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.005588, allocations: 0.9743 MB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.005659, allocations: 3.938 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.005983, allocations: 71.66 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.006313, allocations: 107.5 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.006505, allocations: 71.62 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.006698, allocations: 111.6 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.006733, allocations: 8.234 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.006868, allocations: 59.81 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006976, allocations: 47.83 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.006997, allocations: 4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.007082, allocations: 31.92 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.007143, allocations: 23.91 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.007182, allocations: 11.94 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.007391, allocations: 103.7 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007395, allocations: 3.938 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007396, allocations: 0 / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.0074, allocations: 4 kB / 378.7 MB, free: 1.559 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006315/0.008032, allocations: 443.5 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.008069, allocations: 12.03 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.008131, allocations: 12.88 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.008398, allocations: 157.1 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008418, allocations: 8.375 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.00843, allocations: 384 / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.00856, allocations: 46.25 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.008573, allocations: 7.922 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008583, allocations: 0 / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.008587, allocations: 0 / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.008651, allocations: 15.94 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.008872, allocations: 144.7 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.009049, allocations: 59.09 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.009107, allocations: 19.69 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.009123, allocations: 0 / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.009279, allocations: 72.98 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.009281, allocations: 0 / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.009633, allocations: 101.5 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.009681, allocations: 51.41 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.009934, allocations: 254.4 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.009975, allocations: 25.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01008, allocations: 154.9 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.01011, allocations: 15.91 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.01016, allocations: 27.36 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.01043, allocations: 0.5001 MB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.01048, allocations: 12 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.01055, allocations: 39.3 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.01065, allocations: 43.62 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01066, allocations: 4 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.01083, allocations: 85.58 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01084, allocations: 9.859 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01085, allocations: 3.938 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01086, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.748e-05/0.01094, allocations: 15.94 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01094, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.01099, allocations: 3.938 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.011, allocations: 4 kB / 381 MB, free: 15.03 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 (7): * Single equations (assignments): 7 * 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.0001286/0.01113, allocations: 164.6 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.01116, allocations: 23.88 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.01137, allocations: 90.77 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01137, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01137, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01137, allocations: 4 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01155, allocations: 148.6 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01155, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.01158, allocations: 11.97 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01159, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01159, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.0116, allocations: 3.938 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0116, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.01182, allocations: 132.3 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01184, allocations: 7.953 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01186, allocations: 192 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.0119, allocations: 11.94 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.01194, allocations: 3.984 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.01196, allocations: 8 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.01211, allocations: 172.2 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01211, allocations: 0 / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01232, allocations: 27.92 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002885/0.01521, allocations: 431.4 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01542, allocations: 47.61 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01542, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.0155, allocations: 27.8 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01582, allocations: 50.56 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.01632, allocations: 206.1 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01644, allocations: 97.38 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.01648, allocations: 8.484 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.01652, allocations: 16.5 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01652, allocations: 0 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00556/0.02208, allocations: 1.628 MB / 384.3 MB, free: 11.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.947828968055546]