Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.0009328/0.0009328, 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.0009713/0.0009713, allocations: 165.4 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 0.9355/0.9355, allocations: 177.2 MB / 205 MB, free: 5.285 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.2486/0.2486, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.589e-05, allocations: 6.25 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002736/0.002762, allocations: 1.852 MB / 378 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.004968, allocations: 1.796 MB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.005054, allocations: 0 / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.005356, allocations: 55.62 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.005782, allocations: 147.2 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.006016, allocations: 115.5 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.006258, allocations: 207.3 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.006301, allocations: 17.78 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.006434, allocations: 103.7 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.006611, allocations: 63.8 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.006636, allocations: 12 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.006808, allocations: 103.8 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.006869, allocations: 39.84 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.006922, allocations: 39.84 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.007222, allocations: 207.2 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007224, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007225, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.00723, allocations: 4 kB / 380.8 MB, free: 15.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005395/0.00777, allocations: 0.511 MB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.007804, allocations: 16.02 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.007868, allocations: 20.8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.008106, allocations: 192.2 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.008126, allocations: 4.375 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.008139, allocations: 4.375 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008338, allocations: 165.1 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.008348, allocations: 3.938 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.00836, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.008368, allocations: 8 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.008422, allocations: 19.92 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.008608, allocations: 172.3 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.008767, allocations: 94.16 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.008891, allocations: 39.3 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.008903, allocations: 4 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.009049, allocations: 104.4 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.00905, allocations: 7.938 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002894/0.009339, allocations: 141.5 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.009394, allocations: 140.4 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.009613, allocations: 274.7 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.00963, allocations: 29.7 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.009691, allocations: 162.9 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.009734, allocations: 35.77 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.009781, allocations: 31.38 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.009915, allocations: 0.5001 MB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.009959, allocations: 23.98 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.389e-05/0.01004, allocations: 121.5 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.01014, allocations: 83.17 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01015, allocations: 0 / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001787/0.01033, allocations: 117.5 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01034, allocations: 4 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01035, allocations: 7.922 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01036, allocations: 8.031 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.01045, allocations: 20 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01046, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.01052, allocations: 15.98 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01053, allocations: 4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 9.343e-05/0.01062, allocations: 168.5 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.01066, allocations: 27.86 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.01088, allocations: 138.7 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01089, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01089, allocations: 3.984 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0109, allocations: 7.938 kB / 384.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.01103, allocations: 168.5 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01104, allocations: 0 / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.01107, allocations: 12.23 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01107, allocations: 0 / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01109, allocations: 12 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01109, allocations: 3.938 kB / 384.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01109, allocations: 3.938 kB / 384.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01128, allocations: 179.9 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01131, allocations: 23.89 kB / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01134, allocations: 4 kB / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.01138, allocations: 11.94 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.01142, allocations: 11.98 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01144, allocations: 7.984 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.01158, allocations: 201.8 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01158, allocations: 0 / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01187, allocations: 51.88 kB / 384.9 MB, free: 11.34 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001153/0.01302, allocations: 499.5 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01319, allocations: 75.58 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01319, allocations: 0 / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.01325, allocations: 43.59 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01355, allocations: 79.48 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.01413, allocations: 286.4 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.01418, allocations: 71.98 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.059e-05/0.01425, allocations: 25.42 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.0143, allocations: 28.48 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0143, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006133/0.02044, allocations: 3.752 MB / 389.7 MB, free: 6.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.063325402326882]