Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009009/0.0009009, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001819/0.00272, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008032/0.0008032, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009855/0.001789, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.174, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3262/0.3262, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03697/0.3631, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.358e-05, allocations: 4.828 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004058/0.004091, allocations: 1.805 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.006518, allocations: 1.019 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.006699, allocations: 3.094 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.007097, allocations: 59.47 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.007585, allocations: 98.59 kB / 293.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.007968, allocations: 79.59 kB / 293.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.008254, allocations: 107.6 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.008375, allocations: 8.75 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.008591, allocations: 83.73 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.008719, allocations: 23.92 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.008743, allocations: 4 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.008929, allocations: 51.91 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.009018, allocations: 27.92 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.009086, allocations: 19.88 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.009372, allocations: 111.5 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.262e-05/0.009395, allocations: 0 / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.009396, allocations: 0 / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.00942, allocations: 0 / 294.2 MB, free: 4.707 MB / 282.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.0006673/0.01009, allocations: 368.3 kB / 294.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01013, allocations: 8.031 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.01017, allocations: 8.938 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.01043, allocations: 170.4 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.01044, allocations: 384 / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.01046, allocations: 4.375 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.01062, allocations: 65.7 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01063, allocations: 3.938 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.01064, allocations: 0 / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.01065, allocations: 0 / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.01068, allocations: 11.98 kB / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.011, allocations: 166 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.01115, allocations: 81.3 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.01118, allocations: 20.78 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.01119, allocations: 4 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.01134, allocations: 62.16 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.01135, allocations: 0 / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004476/0.01179, allocations: 125.6 kB / 295.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.01184, allocations: 55.34 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01205, allocations: 214.3 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01207, allocations: 25.7 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.01213, allocations: 100.1 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.01217, allocations: 23.86 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.01223, allocations: 29.69 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.01236, allocations: 326.8 kB / 296 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.01239, allocations: 6.828 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.01244, allocations: 29.64 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.0125, allocations: 36.52 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01251, allocations: 4 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.01265, allocations: 76.38 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01267, allocations: 4 kB / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01267, allocations: 8.016 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01269, allocations: 4 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01279, allocations: 12 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.0128, allocations: 0 / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.01284, allocations: 4 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01285, allocations: 3.984 kB / 296.2 MB, free: 2.504 MB / 282.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 0.0001084/0.01296, allocations: 124.5 kB / 296.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.01299, allocations: 15.92 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01317, allocations: 75.14 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01317, allocations: 4 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01317, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.01318, allocations: 7.969 kB / 296.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.01356, allocations: 307.5 kB / 296.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01357, allocations: 0 / 296.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.01362, allocations: 15.92 kB / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.01364, allocations: 11.91 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.01365, allocations: 4 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01366, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.01367, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01367, allocations: 4.031 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01387, allocations: 231 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.0139, allocations: 0 / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.01398, allocations: 4 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01401, allocations: 11.92 kB / 297 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.01403, allocations: 4 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.595e-05/0.01413, allocations: 75.75 kB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01413, allocations: 0 / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01438, allocations: 27.98 kB / 297.1 MB, free: 1.531 MB / 282.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.002128/0.01651, allocations: 0.6271 MB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.0167, allocations: 44.72 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/0.01671, allocations: 0 / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.01676, allocations: 36.83 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.01707, allocations: 47.44 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.01791, allocations: 264.3 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.01797, allocations: 71.33 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.01803, allocations: 13.28 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.01813, allocations: 67.36 kB / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01813, allocations: 0 / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of Templates: time 0.006376/0.0245, allocations: 2.072 MB / 300.3 MB, free: 14.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.3432860765606165]