Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001264/0.001264, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001325/0.001325, allocations: 163.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.2037/0.2037, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.433e-05, allocations: 2.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003318/0.003352, allocations: 1.716 MB / 441.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.005182, allocations: 0.9664 MB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.005252, allocations: 7.938 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.005526, allocations: 31.84 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.005839, allocations: 99.47 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.006046, allocations: 87.53 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.006229, allocations: 107.6 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.006316, allocations: 7.984 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.006426, allocations: 51.84 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.006512, allocations: 27.89 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.006534, allocations: 4 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.006633, allocations: 39.98 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.0067, allocations: 31.86 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.006751, allocations: 19.92 kB / 443.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006983, allocations: 119.6 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.006987, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006988, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.006994, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 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.0005924/0.007586, allocations: 349.5 kB / 443.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.007625, allocations: 12.03 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.007682, allocations: 16.84 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.007919, allocations: 154.3 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.007933, allocations: 4.375 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.007957, allocations: 8.375 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.008108, allocations: 54.17 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.008123, allocations: 3.938 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.008135, allocations: 4 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.008141, allocations: 4 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.008229, allocations: 15.98 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.008575, allocations: 232.6 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.008759, allocations: 58.61 kB / 444.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.008821, allocations: 32.72 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.008836, allocations: 0 / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.008985, allocations: 67.39 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.008987, allocations: 0 / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.009563, allocations: 185.3 kB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.009613, allocations: 55.41 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.009813, allocations: 202.2 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.009832, allocations: 25.7 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.009904, allocations: 104.1 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.009938, allocations: 35.77 kB / 445.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.009981, allocations: 21.72 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01013, allocations: 326.8 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.01019, allocations: 19.98 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.01027, allocations: 41.64 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.0104, allocations: 61.64 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.0104, allocations: 4 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.0106, allocations: 101.5 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01062, allocations: 12.03 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01062, allocations: 0 / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01064, allocations: 3.984 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.01073, allocations: 12 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01074, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.01078, allocations: 4.312 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01079, allocations: 4 kB / 445.7 MB, free: 2.379 MB / 366.1 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 0.0001104/0.0109, allocations: 133.5 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.01093, allocations: 15.89 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.0112, allocations: 123.1 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0112, allocations: 0 / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01121, allocations: 0 / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01121, allocations: 3.984 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.01166, allocations: 351.2 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01167, allocations: 3.984 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.01171, allocations: 15.92 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.01172, allocations: 7.938 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01173, allocations: 4 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01173, allocations: 0 / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01173, allocations: 4.031 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01201, allocations: 212.2 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01204, allocations: 15.89 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01206, allocations: 4 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.01214, allocations: 4 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01217, allocations: 7.984 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01219, allocations: 4 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.01233, allocations: 156.2 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01233, allocations: 0 / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.01259, allocations: 23.94 kB / 446.7 MB, free: 1.238 MB / 366.1 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.001791/0.01438, allocations: 0.4916 MB / 447.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01457, allocations: 51.92 kB / 447.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01457, allocations: 0 / 447.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.01465, allocations: 39.98 kB / 447.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.015, allocations: 31.09 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.01547, allocations: 230.1 kB / 447.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.971e-05/0.01557, allocations: 100.3 kB / 447.7 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.01562, allocations: 13.05 kB / 447.7 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.01566, allocations: 20.48 kB / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01566, allocations: 0 / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of Templates: time 0.1662/0.1819, allocations: 1.853 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.546882662922144]