Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.00114/0.00114, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.002957, allocations: 447.8 kB / 10.35 MB, free: 348 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.00123/0.00123, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.002948, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9763/0.9763, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1806/1.157, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1499/0.1499, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02283/0.1727, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.409e-05, allocations: 6.25 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.005824/0.005848, allocations: 1.844 MB / 269.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.008005, allocations: 1.626 MB / 270.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.008079, allocations: 4 kB / 270.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.008284, allocations: 55.62 kB / 270.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.008501, allocations: 95.41 kB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.01182, allocations: 135.6 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.01205, allocations: 187.3 kB / 271.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.01209, allocations: 10.47 kB / 271.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.01227, allocations: 136.4 kB / 271.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.01241, allocations: 55.81 kB / 271.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.01243, allocations: 8 kB / 271.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.01259, allocations: 71.78 kB / 271.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.01264, allocations: 27.88 kB / 271.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.01268, allocations: 23.94 kB / 271.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.01289, allocations: 135.5 kB / 271.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.0129, allocations: 0 / 271.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0129, allocations: 0 / 271.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.01292, allocations: 0 / 271.7 MB, free: 2.031 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004881/0.01341, allocations: 407.4 kB / 272.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01344, allocations: 12.02 kB / 272.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.01348, allocations: 8.938 kB / 272.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.01369, allocations: 173.5 kB / 272.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.01371, allocations: 384 / 272.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.01372, allocations: 4.375 kB / 272.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.01389, allocations: 164.5 kB / 272.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.0139, allocations: 3.938 kB / 272.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.01391, allocations: 4 kB / 272.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.01391, allocations: 8 kB / 272.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.01395, allocations: 17.64 kB / 272.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.01406, allocations: 78.38 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.01419, allocations: 86.78 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.01422, allocations: 17.72 kB / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.01423, allocations: 7.984 kB / 272.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.01436, allocations: 99.83 kB / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.01436, allocations: 0 / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.003169/0.01753, allocations: 99.69 kB / 272.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.01757, allocations: 81.05 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.01772, allocations: 209 kB / 273.1 MB, free: 392 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.01773, allocations: 29.7 kB / 273.2 MB, free: 356 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.01777, allocations: 104 kB / 273.3 MB, free: 248 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.0178, allocations: 23.84 kB / 273.3 MB, free: 224 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.01785, allocations: 33.69 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.01794, allocations: 326.8 kB / 273.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.01796, allocations: 22.81 kB / 273.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.01816, allocations: 112.5 kB / 273.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.01823, allocations: 63.89 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01823, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001026/0.01833, allocations: 91.19 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.01834, allocations: 8 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01835, allocations: 0 / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01836, allocations: 96 / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.01844, allocations: 31.92 kB / 274 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01845, allocations: 7.938 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.0185, allocations: 15.89 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.01851, allocations: 4 kB / 274 MB, free: 15.45 MB / 282.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.349e-05/0.01858, allocations: 120.7 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.0186, allocations: 11.98 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.01873, allocations: 98.94 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01873, allocations: 0 / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01873, allocations: 3.938 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01873, allocations: 4 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.01884, allocations: 105.8 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01884, allocations: 0 / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.01887, allocations: 15.98 kB / 274.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01889, allocations: 15.84 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01889, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.0189, allocations: 4 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.0189, allocations: 4 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.0189, allocations: 3.938 kB / 274.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.01901, allocations: 122.3 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01903, allocations: 8 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.01907, allocations: 4 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.0191, allocations: 11.98 kB / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01912, allocations: 11.92 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.566e-05/0.01918, allocations: 69.86 kB / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01918, allocations: 0 / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01939, allocations: 39.92 kB / 274.6 MB, free: 14.74 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.004481/0.02387, allocations: 0.6168 MB / 275.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.02398, allocations: 56.77 kB / 275.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.02399, allocations: 0 / 275.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.02403, allocations: 32.83 kB / 275.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.02424, allocations: 83.77 kB / 275.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.02476, allocations: 266.8 kB / 275.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.0248, allocations: 71.98 kB / 275.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.02486, allocations: 21.48 kB / 275.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.02497, allocations: 91.34 kB / 275.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02497, allocations: 0 / 275.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of Templates: time 0.007541/0.03251, allocations: 3.247 MB / 279.1 MB, free: 10.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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: 2.862550617195666]