Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001033/0.001033, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001098/0.001098, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2686/0.2686, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.187e-05, allocations: 2.312 kB / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002998/0.00302, allocations: 1.918 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004444, allocations: 1.095 MB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004554, allocations: 3.938 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.004918, allocations: 167.3 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.005289, allocations: 187.2 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.005494, allocations: 119.5 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.005759, allocations: 251.2 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.005885, allocations: 17.95 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.006042, allocations: 143.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.006198, allocations: 127.7 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.006222, allocations: 8 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.006326, allocations: 63.92 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.006399, allocations: 59.77 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.006453, allocations: 47.78 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.006683, allocations: 179.3 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006686, allocations: 0 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.006688, allocations: 0 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006692, allocations: 0 / 383 MB, free: 13.91 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.0005733/0.007266, allocations: 0.573 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.007306, allocations: 8.031 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.007354, allocations: 32.8 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.00756, allocations: 224.5 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007579, allocations: 384 / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.007604, allocations: 12.38 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.007764, allocations: 117.4 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.007776, allocations: 3.938 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.007785, allocations: 7.938 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007793, allocations: 3.984 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.007836, allocations: 23.97 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.0082, allocations: 455.2 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.008405, allocations: 117.9 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.008445, allocations: 35.61 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.008467, allocations: 11.92 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.008594, allocations: 112.4 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.008595, allocations: 0 / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006333/0.009228, allocations: 378.2 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.009264, allocations: 85.11 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.009453, allocations: 350.1 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.009471, allocations: 33.64 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.009555, allocations: 199.3 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.009604, allocations: 79.39 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.00965, allocations: 47.34 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.009933, allocations: 0.5157 MB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.009969, allocations: 27.97 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.01002, allocations: 70.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.01012, allocations: 118.8 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01012, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001652/0.01028, allocations: 185.3 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.0103, allocations: 4 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0103, allocations: 0 / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01031, allocations: 4 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.0104, allocations: 47.91 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01041, allocations: 4 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.01045, allocations: 16 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.01046, allocations: 4 kB / 386.8 MB, free: 9.781 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 8.554e-05/0.01055, allocations: 176.5 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01057, allocations: 31.81 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.01081, allocations: 211.5 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01081, allocations: 4 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01081, allocations: 0 / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01082, allocations: 7.875 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.01129, allocations: 0.6947 MB / 387.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01129, allocations: 4 kB / 387.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.01136, allocations: 31.92 kB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.01136, allocations: 7.938 kB / 388 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01137, allocations: 8 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01137, allocations: 4 kB / 388 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01138, allocations: 0 / 388 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01165, allocations: 497.4 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01168, allocations: 35.88 kB / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.0117, allocations: 12 kB / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.01178, allocations: 7.984 kB / 388.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.01182, allocations: 19.97 kB / 388.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01184, allocations: 8 kB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01195, allocations: 230.9 kB / 388.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01195, allocations: 0 / 388.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01218, allocations: 55.92 kB / 388.8 MB, free: 7.652 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.00103/0.01321, allocations: 497.5 kB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01337, allocations: 118.2 kB / 389.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01337, allocations: 0 / 389.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.01345, allocations: 71.45 kB / 389.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.01379, allocations: 78.48 kB / 389.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.01434, allocations: 458 kB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.01441, allocations: 96.31 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.01448, allocations: 37.92 kB / 390.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.0146, allocations: 118.2 kB / 390.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0146, allocations: 0 / 390.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Templates: time 0.005555/0.02015, allocations: 3.654 MB / 393.9 MB, free: 2.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.2641584780067205]