Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.0007656/0.0007656, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009954/0.001761, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007069/0.0007069, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009265/0.001633, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1848/1.194, allocations: 49.51 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1346/0.1346, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02593/0.1605, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.794e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003901/0.003939, allocations: 1.906 MB / 269.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005717, allocations: 0.9087 MB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.005874, allocations: 0 / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.006436, allocations: 299.2 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.006838, allocations: 211.2 kB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.00726, allocations: 147.5 kB / 270.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.007711, allocations: 239.3 kB / 271 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.007845, allocations: 14.45 kB / 271 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.00819, allocations: 192.3 kB / 271.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.008436, allocations: 151.6 kB / 271.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.00847, allocations: 8 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.008631, allocations: 39.94 kB / 271.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.008731, allocations: 63.72 kB / 271.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.008796, allocations: 35.81 kB / 271.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.00914, allocations: 175.3 kB / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47e-05/0.009165, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.009166, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.009189, allocations: 3.984 kB / 271.7 MB, free: 2.059 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008388/0.01003, allocations: 0.4947 MB / 272.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.01007, allocations: 11.89 kB / 272.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.01013, allocations: 16.92 kB / 272.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.01044, allocations: 217.7 kB / 272.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.01047, allocations: 8.375 kB / 272.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.0105, allocations: 8.359 kB / 272.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.01072, allocations: 103.4 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01073, allocations: 3.938 kB / 272.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.01074, allocations: 4 kB / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.01075, allocations: 0 / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.01081, allocations: 21.64 kB / 272.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.01124, allocations: 288.9 kB / 272.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.01156, allocations: 174.6 kB / 273 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.0116, allocations: 25.72 kB / 273 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01162, allocations: 7.984 kB / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.0118, allocations: 111.7 kB / 273.1 MB, free: 456 kB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.0118, allocations: 4 kB / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006507/0.01245, allocations: 211 kB / 273.3 MB, free: 232 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.01251, allocations: 77.11 kB / 273.4 MB, free: 136 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.01289, allocations: 341.1 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.01292, allocations: 37.7 kB / 273.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.01299, allocations: 117.3 kB / 273.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.01305, allocations: 51.58 kB / 274 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.01313, allocations: 37.69 kB / 274 MB, free: 15.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.01328, allocations: 350.7 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.01333, allocations: 14.83 kB / 274.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.0134, allocations: 59.34 kB / 274.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.01351, allocations: 84.92 kB / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01352, allocations: 4 kB / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001885/0.01371, allocations: 111.2 kB / 274.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.01374, allocations: 7.984 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.01375, allocations: 4 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01377, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01394, allocations: 35.98 kB / 274.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.01395, allocations: 7.938 kB / 274.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.01403, allocations: 4 kB / 274.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01405, allocations: 8 kB / 274.7 MB, free: 14.81 MB / 282.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 (20): * Single equations (assignments): 20 * 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.0001723/0.01422, allocations: 132.6 kB / 274.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.01428, allocations: 19.98 kB / 274.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.0146, allocations: 140.6 kB / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.0146, allocations: 0 / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01461, allocations: 0 / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.01462, allocations: 4 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.01534, allocations: 0.4953 MB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.01535, allocations: 4 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.01543, allocations: 24.81 kB / 275.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.01548, allocations: 31.8 kB / 275.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.01548, allocations: 0 / 275.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.0155, allocations: 4 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.0155, allocations: 0 / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.01551, allocations: 4 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.01586, allocations: 383 kB / 275.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.0159, allocations: 12 kB / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01605, allocations: 4 kB / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.01612, allocations: 19.91 kB / 275.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.01614, allocations: 4 kB / 275.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.01634, allocations: 159.6 kB / 276.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01634, allocations: 0 / 276.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.01674, allocations: 43.92 kB / 276.1 MB, free: 13.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.002425/0.01916, allocations: 0.648 MB / 276.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.01939, allocations: 68.91 kB / 276.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.01941, allocations: 8 kB / 276.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.01948, allocations: 60.83 kB / 276.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.01999, allocations: 73.41 kB / 277 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02114, allocations: 452.7 kB / 277.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02124, allocations: 95.95 kB / 277.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.02135, allocations: 33.92 kB / 277.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.0215, allocations: 87.36 kB / 277.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of SimCode: time 2.284e-06/0.0215, allocations: 0 / 277.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of Templates: time 0.00836/0.02986, allocations: 3.247 MB / 280.9 MB, free: 8.438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.0078729474917054]