Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001124/0.001124, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001208/0.001208, allocations: 166.7 kB / 24.82 MB, free: 9.273 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 1.068/1.068, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2694/0.2694, allocations: 34.27 MB / 296.1 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.Test74,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.62e-05, allocations: 2.312 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003107/0.003133, allocations: 1.921 MB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.004768, allocations: 1.095 MB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004881, allocations: 0 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.005405, allocations: 259.1 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.005877, allocations: 235.1 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.006137, allocations: 127.5 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.006451, allocations: 279.2 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006601, allocations: 13.97 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.006827, allocations: 159.6 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.007035, allocations: 191.6 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.007065, allocations: 12 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.007191, allocations: 67.89 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.007279, allocations: 71.7 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.00734, allocations: 43.8 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.007605, allocations: 199.2 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.007607, allocations: 0 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.007609, allocations: 0 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007614, allocations: 0 / 383.2 MB, free: 13.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006593/0.008273, allocations: 0.6312 MB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.008324, allocations: 12.03 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.008388, allocations: 40.7 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.008645, allocations: 230.9 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.008667, allocations: 8.375 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.008692, allocations: 8.359 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.008902, allocations: 110.2 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.008922, allocations: 7.922 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.008934, allocations: 15.92 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.008944, allocations: 4 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.008989, allocations: 23.97 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.009389, allocations: 475.2 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.009601, allocations: 110 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.009645, allocations: 39.59 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.009663, allocations: 7.938 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.009807, allocations: 108.4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.009808, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006831/0.01049, allocations: 386.1 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.01055, allocations: 85.09 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.01083, allocations: 422.5 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.01085, allocations: 29.7 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.01099, allocations: 231.2 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.01106, allocations: 75.41 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.01111, allocations: 51.34 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.0113, allocations: 0.5235 MB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.01134, allocations: 27.97 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.0114, allocations: 74.7 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.01151, allocations: 114.8 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01152, allocations: 4 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001945/0.01171, allocations: 185.2 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01173, allocations: 8 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01173, allocations: 0 / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01174, allocations: 0 / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.01184, allocations: 55.97 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01184, allocations: 0 / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.01189, allocations: 15.94 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.0119, allocations: 4 kB / 387.3 MB, free: 9.293 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.0001115/0.01201, allocations: 172.5 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01204, allocations: 43.77 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.01229, allocations: 220.8 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01229, allocations: 4 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0123, allocations: 0 / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.0123, allocations: 3.938 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.01286, allocations: 0.7026 MB / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01286, allocations: 0 / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.01292, allocations: 35.92 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01292, allocations: 3.938 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01293, allocations: 12 kB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01294, allocations: 0 / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01294, allocations: 7.938 kB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01324, allocations: 0.5005 MB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.01327, allocations: 39.69 kB / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01329, allocations: 4 kB / 389 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.01337, allocations: 8 kB / 389.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.01342, allocations: 23.95 kB / 389.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.01344, allocations: 11.98 kB / 389.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.01361, allocations: 275 kB / 389.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01361, allocations: 0 / 389.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01385, allocations: 51.94 kB / 389.4 MB, free: 7.09 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.001051/0.0149, allocations: 0.4889 MB / 389.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.01505, allocations: 116 kB / 390 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01505, allocations: 0 / 390 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.01512, allocations: 67.72 kB / 390.1 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01546, allocations: 80.7 kB / 390.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.01602, allocations: 0.5166 MB / 390.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.0161, allocations: 104.5 kB / 390.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.01618, allocations: 37.92 kB / 390.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.0163, allocations: 126.2 kB / 390.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0163, allocations: 0 / 390.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of Templates: time 0.005599/0.0219, allocations: 3.681 MB / 394.6 MB, free: 2.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.3416199209168553]