Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001387/0.001387, 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.001528/0.001528, allocations: 169.3 kB / 24.27 MB, free: 144 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.552/1.552, 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.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.3387/0.3387, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.516e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003223/0.003248, allocations: 1.716 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.005166, allocations: 0.9812 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.005231, allocations: 0 / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.005593, allocations: 87.56 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.00598, allocations: 115.5 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.006201, allocations: 79.61 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.006423, allocations: 123.6 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.006504, allocations: 11.92 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.00663, allocations: 71.75 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.006743, allocations: 51.88 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.006764, allocations: 4 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.006862, allocations: 39.98 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.006924, allocations: 23.91 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.006976, allocations: 19.92 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.007208, allocations: 127.5 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.007211, allocations: 3.938 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007212, allocations: 4 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.007216, allocations: 0 / 380.8 MB, free: 15.41 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.0008509/0.008067, allocations: 353.5 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.008099, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.008164, allocations: 20.84 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.008444, allocations: 149.6 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.008458, allocations: 384 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.008489, allocations: 8.375 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.008646, allocations: 50.23 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.008659, allocations: 3.938 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.008671, allocations: 15.88 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.008675, allocations: 0 / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.008754, allocations: 19.98 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.009147, allocations: 236.6 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.009339, allocations: 50.67 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.009415, allocations: 32.72 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.009433, allocations: 4 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.009603, allocations: 67.39 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.009605, allocations: 4 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006367/0.01024, allocations: 189.5 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.01029, allocations: 59.39 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.01056, allocations: 219.6 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.01059, allocations: 29.69 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.01068, allocations: 104.1 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.01072, allocations: 27.78 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.01077, allocations: 21.72 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.01096, allocations: 322.8 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.01102, allocations: 23.98 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.01112, allocations: 45.64 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01126, allocations: 65.7 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01126, allocations: 4 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002271/0.01149, allocations: 109.5 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.0115, allocations: 4 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01151, allocations: 4 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01153, allocations: 0 / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.01162, allocations: 15.98 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01163, allocations: 4.031 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.01168, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01169, allocations: 8 kB / 383.1 MB, free: 12.98 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.0001277/0.01182, allocations: 133.7 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01185, allocations: 15.91 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.01214, allocations: 119.1 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01215, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01215, allocations: 3.938 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01215, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.01266, allocations: 354.9 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01266, allocations: 11.88 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.01271, allocations: 11.98 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01271, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.01272, allocations: 8 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01273, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01273, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.01304, allocations: 216.2 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.01307, allocations: 11.94 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01309, allocations: 7.984 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.01317, allocations: 8.031 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.01321, allocations: 7.984 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01323, allocations: 4 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.01341, allocations: 177.1 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01341, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000272/0.01368, allocations: 27.92 kB / 384.2 MB, free: 11.82 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.002266/0.01595, allocations: 493.1 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.01615, allocations: 63.89 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01615, allocations: 0 / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.01624, allocations: 32.08 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.01661, allocations: 38.88 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.01718, allocations: 256.3 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.01731, allocations: 104.7 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.01736, allocations: 12.97 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.01741, allocations: 16.5 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01741, allocations: 0 / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Templates: time 0.0055/0.02291, allocations: 1.879 MB / 387 MB, free: 9.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.793596405070275]