Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009999/0.0009999, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009821/0.0009821, allocations: 165.6 kB / 24.99 MB, free: 8.316 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 0.9877/0.9877, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2582/0.2582, allocations: 34.25 MB / 296 MB, free: 0.6641 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.808e-05, allocations: 5.828 kB / 378.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003034/0.003063, allocations: 1.766 MB / 379.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004829, allocations: 1.726 MB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.004907, allocations: 0 / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.005176, allocations: 31.77 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.005477, allocations: 115.3 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.005617, allocations: 75.66 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.005761, allocations: 107.6 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.005854, allocations: 7.984 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.005939, allocations: 59.84 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.006041, allocations: 31.89 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.006059, allocations: 4 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.006199, allocations: 115.7 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.006255, allocations: 19.88 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.006302, allocations: 23.91 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.006536, allocations: 159.5 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006539, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00654, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006545, allocations: 0 / 382.3 MB, free: 14.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005048/0.007049, allocations: 455.8 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.007088, allocations: 8.031 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.007141, allocations: 12.89 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.007326, allocations: 145 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.007346, allocations: 8.375 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.007367, allocations: 4.375 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.007519, allocations: 115.3 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.007531, allocations: 7.938 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.007541, allocations: 0 / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007549, allocations: 0 / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.007584, allocations: 12 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.007872, allocations: 291.7 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007974, allocations: 55.09 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.008004, allocations: 23.69 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.008015, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.207e-05/0.008107, allocations: 65.05 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.008108, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003794/0.008487, allocations: 149.4 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.008529, allocations: 85.09 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.008661, allocations: 220.8 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.008673, allocations: 25.7 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.008725, allocations: 146.9 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.008749, allocations: 27.8 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.008783, allocations: 27.38 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.00889, allocations: 0.4961 MB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.008914, allocations: 15.98 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.008961, allocations: 72.62 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.009017, allocations: 47.45 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.009018, allocations: 0 / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001048/0.009123, allocations: 101.5 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.009135, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.009141, allocations: 4.062 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009155, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.009229, allocations: 12 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.009235, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.009269, allocations: 11.98 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.009274, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.517e-05/0.009349, allocations: 168.5 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.009366, allocations: 11.95 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.009507, allocations: 106.4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009509, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.009512, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.009517, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.009788, allocations: 393.3 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.009792, allocations: 3.984 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.009817, allocations: 12 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.009819, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009828, allocations: 4 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009829, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00983, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.009965, allocations: 255.4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.009978, allocations: 19.97 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.009995, allocations: 0 / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.01004, allocations: 4 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01007, allocations: 15.92 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01009, allocations: 4 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.01017, allocations: 161.6 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.01037, allocations: 47.86 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001122/0.01149, allocations: 0.5442 MB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.01162, allocations: 55.61 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01162, allocations: 0 / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.01166, allocations: 31.67 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01188, allocations: 34.91 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.01222, allocations: 209.8 kB / 387 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.01225, allocations: 63.34 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.01229, allocations: 21.39 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.01233, allocations: 24.48 kB / 387.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01233, allocations: 0 / 387.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.004353/0.01668, allocations: 2.527 MB / 389.6 MB, free: 7.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.2719508230220526]