Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001295/0.001295, 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.001989/0.001989, 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.629 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.264/0.264, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.203e-05, allocations: 5.547 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002162/0.002184, allocations: 1.789 MB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003417, allocations: 1.009 MB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.003503, allocations: 3.938 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.003816, allocations: 51.69 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.00413, allocations: 103.5 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.004286, allocations: 83.59 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004456, allocations: 131.6 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.409e-05/0.00454, allocations: 7.984 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.004622, allocations: 67.77 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.004708, allocations: 47.88 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.004725, allocations: 8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.004817, allocations: 55.92 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.004875, allocations: 39.83 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.004914, allocations: 19.94 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.005102, allocations: 135.4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005104, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005105, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005109, allocations: 0 / 381.7 MB, free: 14.98 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004538/0.005563, allocations: 467.8 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.005596, allocations: 12.02 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.00564, allocations: 16.84 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.005819, allocations: 164.9 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.005837, allocations: 384 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.005863, allocations: 8.375 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.006, allocations: 74.86 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006011, allocations: 11.94 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006024, allocations: 7.984 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006032, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.006093, allocations: 23.97 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.006445, allocations: 315.6 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.006653, allocations: 78.95 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.006687, allocations: 19.84 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.006702, allocations: 4 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.006809, allocations: 85.05 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.006811, allocations: 4 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005725/0.007383, allocations: 265.7 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.007413, allocations: 59.34 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.007543, allocations: 233.9 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007557, allocations: 29.7 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.007612, allocations: 151.1 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.007644, allocations: 43.64 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.007685, allocations: 39.36 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.007804, allocations: 0.5 MB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.00784, allocations: 23.98 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.007885, allocations: 47.36 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.007967, allocations: 79.05 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007968, allocations: 0 / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001473/0.008116, allocations: 129.6 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.008127, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.008131, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.008149, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.008219, allocations: 27.92 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008225, allocations: 3.984 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.008252, allocations: 12.02 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.008262, allocations: 8 kB / 384.6 MB, free: 11.85 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 (15): * Single equations (assignments): 15 * 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 7.24e-05/0.008335, allocations: 172.4 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.008354, allocations: 15.91 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.00855, allocations: 157.9 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.008553, allocations: 7.984 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008557, allocations: 0 / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008561, allocations: 0 / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.008925, allocations: 488.5 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008927, allocations: 0 / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.008971, allocations: 27.92 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008973, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.008982, allocations: 8 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008984, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008987, allocations: 3.938 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.009183, allocations: 307 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.009198, allocations: 19.84 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.009218, allocations: 7.984 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.009262, allocations: 8.062 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.009297, allocations: 15.92 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.00931, allocations: 8 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.83e-05/0.009388, allocations: 176.2 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009388, allocations: 4 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.009566, allocations: 35.94 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.000973/0.01054, allocations: 496.6 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01068, allocations: 83.28 kB / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01068, allocations: 0 / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.01074, allocations: 55.59 kB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01096, allocations: 38.58 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.01132, allocations: 282.3 kB / 386.9 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.01136, allocations: 71.83 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.01141, allocations: 25.47 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01145, allocations: 28.48 kB / 387.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01145, allocations: 3.938 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of Templates: time 0.003662/0.01511, allocations: 2.365 MB / 389.4 MB, free: 7.047 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.3520058491267264]