Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001022/0.001022, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0008701/0.0008701, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.8608/0.8608, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1354/0.1354, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.894e-05, allocations: 8.219 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001989/0.002018, allocations: 1.738 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.002872, allocations: 0.7959 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.002939, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.003263, allocations: 47.75 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.003461, allocations: 55.7 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.003655, allocations: 87.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003802, allocations: 95.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.00389, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.003961, allocations: 63.75 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.004023, allocations: 19.92 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004042, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.004128, allocations: 47.91 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.004178, allocations: 19.92 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.004214, allocations: 15.94 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004365, allocations: 111.5 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004368, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004368, allocations: 4 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004373, allocations: 0 / 350.8 MB, free: 6.242 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.0003657/0.004738, allocations: 439.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.004773, allocations: 12.03 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.004818, allocations: 16.83 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004958, allocations: 145.8 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.004977, allocations: 12.36 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.005, allocations: 384 / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005123, allocations: 62.94 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.005133, allocations: 7.875 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.005143, allocations: 4 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.00515, allocations: 0 / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.005185, allocations: 11.98 kB / 351.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.005441, allocations: 283.8 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.005535, allocations: 55.16 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.005563, allocations: 27.5 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005577, allocations: 0 / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.192e-05/0.005659, allocations: 65.05 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.00566, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.006011, allocations: 161.6 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.006033, allocations: 59.39 kB / 352.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.006127, allocations: 232 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.006134, allocations: 29.7 kB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.006168, allocations: 146.9 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.00619, allocations: 35.73 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.006219, allocations: 31.38 kB / 352.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.006267, allocations: 0.4923 MB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.006289, allocations: 15.98 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.006317, allocations: 31.31 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.006366, allocations: 59.3 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006367, allocations: 0 / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.452e-05/0.006451, allocations: 89.56 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.006463, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.006467, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.006481, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.006555, allocations: 15.98 kB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.006562, allocations: 4 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.006587, allocations: 4 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006593, allocations: 8.031 kB / 353.4 MB, free: 3.496 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 4.901e-05/0.006642, allocations: 168.5 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.006661, allocations: 19.89 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.006791, allocations: 99.28 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006793, allocations: 3.938 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006796, allocations: 4 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006801, allocations: 3.984 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.007011, allocations: 389 kB / 354 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007013, allocations: 0 / 354 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.007034, allocations: 12.03 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007036, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.007043, allocations: 4 kB / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007045, allocations: 0 / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007045, allocations: 3.938 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.733e-05/0.007143, allocations: 263.4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-06/0.007152, allocations: 11.94 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.007167, allocations: 4 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.007204, allocations: 4 kB / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.007238, allocations: 7.984 kB / 354.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.007249, allocations: 4 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.0073, allocations: 171.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0073, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.007476, allocations: 31.92 kB / 354.5 MB, free: 2.227 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.0009293/0.008405, allocations: 444 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.008528, allocations: 51.59 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.00853, allocations: 0 / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.00857, allocations: 35.61 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.008813, allocations: 39.95 kB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.009164, allocations: 217.4 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.389e-05/0.009198, allocations: 67.33 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.00923, allocations: 12.48 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.009263, allocations: 24.48 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009264, allocations: 3.938 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of Templates: time 0.003685/0.01295, allocations: 1.837 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.173934003803879]