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.001951/0.001951, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00222/0.00222, allocations: 161.6 kB / 24.27 MB, free: 172 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.4277/0.4277, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|d_t_new.y|t_new_2.y.1.|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.1.|d_t_new.y|t_new_2.y.1.|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 2.084e-06/2.084e-06, allocations: 0 / 377.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.428e-05, allocations: 2.312 kB / 377.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005532/0.005566, allocations: 1.883 MB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.008889, allocations: 1.08 MB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.009077, allocations: 3.938 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.009866, allocations: 251.2 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.01072, allocations: 247 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.01126, allocations: 123.5 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.01187, allocations: 275.2 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.01202, allocations: 17.95 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.01244, allocations: 159.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.01286, allocations: 195.5 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.01292, allocations: 12 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.01316, allocations: 55.92 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.01332, allocations: 75.75 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.01345, allocations: 55.72 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.01403, allocations: 243.1 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.01404, allocations: 4 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01404, allocations: 0 / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01405, allocations: 0 / 382 MB, free: 14.18 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.001229/0.01527, allocations: 0.5118 MB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.01532, allocations: 8.031 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.01547, allocations: 44.69 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.01608, allocations: 232.1 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.0161, allocations: 8.375 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.01614, allocations: 4.375 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.01649, allocations: 115.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.01652, allocations: 7.922 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.01654, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01655, allocations: 4 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.01675, allocations: 47.97 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.01774, allocations: 420.3 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.01829, allocations: 129.1 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.01845, allocations: 45.81 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01847, allocations: 4 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.01881, allocations: 120.7 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.01881, allocations: 0 / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001996/0.0208, allocations: 0.5436 MB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.02089, allocations: 89.05 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.02153, allocations: 0.4938 MB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.02156, allocations: 29.7 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.02171, allocations: 168.6 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.0218, allocations: 79.38 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.02189, allocations: 41.7 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.0221, allocations: 350.8 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.02225, allocations: 59.97 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.02242, allocations: 87.41 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.02275, allocations: 171.4 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.02275, allocations: 3.938 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005051/0.02326, allocations: 253.3 kB / 386 MB, free: 9.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.02328, allocations: 5.875 kB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.02328, allocations: 4 kB / 386.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.0233, allocations: 0 / 386.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.02346, allocations: 51.97 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.02347, allocations: 3.938 kB / 386.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.02357, allocations: 8 kB / 386.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.02359, allocations: 8 kB / 386.1 MB, free: 9.84 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.0001947/0.02378, allocations: 173.8 kB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.02387, allocations: 47.75 kB / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.02453, allocations: 277.4 kB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.02454, allocations: 7.984 kB / 386.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.02455, allocations: 3.938 kB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02455, allocations: 4 kB / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.02564, allocations: 0.684 MB / 387.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02565, allocations: 0 / 387.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.02576, allocations: 31.92 kB / 387.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.02577, allocations: 4 kB / 387.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.02579, allocations: 11.98 kB / 387.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.0258, allocations: 4 kB / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0258, allocations: 128 / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.02642, allocations: 453.7 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.02648, allocations: 39.69 kB / 387.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.02652, allocations: 4 kB / 387.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.02668, allocations: 16 kB / 387.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.02675, allocations: 19.97 kB / 387.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.02678, allocations: 11.98 kB / 387.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004633/0.02725, allocations: 391 kB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02725, allocations: 0 / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.02762, allocations: 47.92 kB / 388.3 MB, free: 7.547 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.002561/0.03018, allocations: 0.5421 MB / 388.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.03058, allocations: 163.5 kB / 389 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03058, allocations: 0 / 389 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.03078, allocations: 87.83 kB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.03137, allocations: 66.23 kB / 389.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.03248, allocations: 0.6265 MB / 389.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.03271, allocations: 181.1 kB / 390 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.03283, allocations: 41.92 kB / 390 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.03292, allocations: 36.48 kB / 390.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03292, allocations: 4 kB / 390.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of Templates: time 0.008782/0.0417, allocations: 3.346 MB / 393.4 MB, free: 2.699 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.998412057990208]