Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001457/0.001457, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001272/0.001272, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 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.998/0.998, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2988/0.2988, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.463e-05, allocations: 5.547 kB / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003424/0.003459, allocations: 1.953 MB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004803, allocations: 1.091 MB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.004895, allocations: 4 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.005253, allocations: 167.3 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.005593, allocations: 191.2 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.005768, allocations: 111.6 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.00601, allocations: 255.2 kB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.006124, allocations: 17.95 kB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006257, allocations: 139.6 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.006393, allocations: 131.7 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.006412, allocations: 8 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.006502, allocations: 63.92 kB / 380.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.006576, allocations: 59.77 kB / 380.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.006633, allocations: 43.78 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.00686, allocations: 183.3 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006862, allocations: 0 / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006863, allocations: 0 / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006867, allocations: 0 / 380.5 MB, free: 0.4922 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005711/0.007438, allocations: 0.5769 MB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.007474, allocations: 8.031 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.00754, allocations: 32.8 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.007779, allocations: 216.6 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.007805, allocations: 4.375 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.007837, allocations: 8.375 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.008024, allocations: 122.1 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.008036, allocations: 3.938 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008047, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.008058, allocations: 4 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.008119, allocations: 27.97 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.008558, allocations: 0.4984 MB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.008802, allocations: 126.1 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.008851, allocations: 35.48 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.008865, allocations: 4 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.009018, allocations: 119.8 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.009019, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008192/0.009838, allocations: 457.5 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.009885, allocations: 85.05 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.01013, allocations: 358.3 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01015, allocations: 29.7 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.01025, allocations: 207.2 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.0103, allocations: 79.41 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.01035, allocations: 51.36 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01049, allocations: 0.5118 MB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.01055, allocations: 35.97 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.01062, allocations: 82.66 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01075, allocations: 122.7 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01076, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000224/0.01098, allocations: 201.6 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.011, allocations: 8 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.011, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01102, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.0111, allocations: 43.92 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01111, allocations: 7.922 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.01115, allocations: 16.06 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01117, allocations: 4 kB / 384.5 MB, free: 12.17 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001008/0.01127, allocations: 172.5 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.0113, allocations: 43.75 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.01173, allocations: 219.9 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01174, allocations: 7.984 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01175, allocations: 3.938 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01175, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.01234, allocations: 0.7527 MB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01234, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.0124, allocations: 31.92 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.0124, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01242, allocations: 8 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01242, allocations: 4 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01242, allocations: 7.922 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01273, allocations: 0.5044 MB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.01276, allocations: 27.94 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.01279, allocations: 8 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.01286, allocations: 8 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.01291, allocations: 27.89 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.01294, allocations: 12 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.01309, allocations: 250.9 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01309, allocations: 0 / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.01333, allocations: 51.92 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001111/0.01444, allocations: 487.1 kB / 387.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01467, allocations: 128 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01467, allocations: 4 kB / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.01475, allocations: 75.89 kB / 387.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.01509, allocations: 79.3 kB / 387.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.01565, allocations: 465.5 kB / 387.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.01572, allocations: 92.31 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.01579, allocations: 45.91 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.01585, allocations: 36.48 kB / 388 MB, free: 8.656 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01585, allocations: 0 / 388 MB, free: 8.656 MB / 362.7 MB Notification: Performance of Templates: time 0.005815/0.02166, allocations: 3.324 MB / 391.4 MB, free: 5.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.36092642089352]