Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001081/0.001081, 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.001214/0.001214, 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.08/1.08, allocations: 177.1 MB / 205 MB, free: 5.602 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.2927/0.2927, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.761e-05, allocations: 5.547 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003285/0.003323, allocations: 1.945 MB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.00497, allocations: 1.111 MB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.005095, allocations: 4 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.005511, allocations: 159.3 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.005968, allocations: 187.2 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.006236, allocations: 119.5 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.006519, allocations: 251.2 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.006644, allocations: 21.95 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.006815, allocations: 139.5 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.006965, allocations: 127.7 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.006991, allocations: 8 kB / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.007112, allocations: 63.92 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.007195, allocations: 59.75 kB / 380.3 MB, free: 396 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.984e-05/0.007275, allocations: 43.8 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.007631, allocations: 179.3 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.007637, allocations: 0 / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.007639, allocations: 0 / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.007647, allocations: 0 / 380.5 MB, free: 172 kB / 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.0008286/0.008476, allocations: 0.5771 MB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.008519, allocations: 8.031 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.008595, allocations: 36.64 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.008861, allocations: 216.6 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.008886, allocations: 8.375 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.008921, allocations: 8.359 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.009133, allocations: 118.2 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.009148, allocations: 7.875 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.009162, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.009171, allocations: 8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.009235, allocations: 27.97 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.009749, allocations: 0.4984 MB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.01002, allocations: 110.2 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.01007, allocations: 39.42 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.01009, allocations: 4 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.01026, allocations: 116.4 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.01026, allocations: 4 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008712/0.01113, allocations: 457.4 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.01118, allocations: 89.03 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.01143, allocations: 350.3 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01145, allocations: 37.69 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.01155, allocations: 195.3 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.01161, allocations: 79.41 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.01167, allocations: 51.36 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01184, allocations: 0.5157 MB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.0119, allocations: 35.97 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.01198, allocations: 82.72 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.01211, allocations: 122.8 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01212, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002425/0.01236, allocations: 197.3 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01238, allocations: 8 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01238, allocations: 4.062 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.0124, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01251, allocations: 47.84 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01252, allocations: 7.938 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.01257, allocations: 8 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.01259, allocations: 8 kB / 384.5 MB, free: 11.83 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.0001032/0.01269, allocations: 172.5 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.01273, allocations: 39.77 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.01304, allocations: 223.9 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01305, allocations: 8 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01305, allocations: 7.875 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01306, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.01368, allocations: 0.7372 MB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01368, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.01375, allocations: 35.92 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01375, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01377, allocations: 4 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.01377, allocations: 8.125 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01377, allocations: 3.984 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01409, allocations: 0.5082 MB / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.01412, allocations: 27.8 kB / 386.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.01415, allocations: 8 kB / 386.3 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.01423, allocations: 11.98 kB / 386.3 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.01428, allocations: 23.97 kB / 386.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.0143, allocations: 8 kB / 386.4 MB, free: 9.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.01446, allocations: 250.9 kB / 386.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01446, allocations: 0 / 386.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.01472, allocations: 55.92 kB / 386.7 MB, free: 9.598 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.001189/0.01591, allocations: 498.8 kB / 387.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.01615, allocations: 136 kB / 387.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01615, allocations: 0 / 387.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.01625, allocations: 71.53 kB / 387.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.01664, allocations: 64.75 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.01727, allocations: 469.5 kB / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.355e-05/0.01733, allocations: 88.31 kB / 388 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.01741, allocations: 46.27 kB / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.01747, allocations: 36.48 kB / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01747, allocations: 0 / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of Templates: time 0.005995/0.02346, allocations: 3.329 MB / 391.4 MB, free: 5.055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.48484863108024]