Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001063/0.001063, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0011/0.0011, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9793/0.9793, allocations: 177.1 MB / 205 MB, free: 5.59 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.2633/0.2633, allocations: 34.27 MB / 295.7 MB, free: 0.6758 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.835e-05/3.987e-05, allocations: 2.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002927/0.002967, allocations: 1.65 MB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.003841, allocations: 0.5337 MB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.0039, allocations: 4 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.004163, allocations: 71.7 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.004476, allocations: 107.5 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.004742, allocations: 95.62 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004899, allocations: 79.77 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.004993, allocations: 23.89 kB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.005076, allocations: 39.91 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.005168, allocations: 47.88 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.005183, allocations: 4 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.005274, allocations: 47.86 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.005321, allocations: 27.91 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.005351, allocations: 11.94 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.005519, allocations: 91.66 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005523, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005524, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.005529, allocations: 0 / 380.9 MB, free: 15.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004213/0.005951, allocations: 435.9 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.005989, allocations: 8.031 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.006035, allocations: 12.83 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006177, allocations: 153 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.006188, allocations: 384 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.006212, allocations: 12.38 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.006329, allocations: 54.95 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006338, allocations: 192 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006348, allocations: 4.125 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.006355, allocations: 4 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.006388, allocations: 7.984 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.006692, allocations: 291.7 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.006761, allocations: 35.06 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.006786, allocations: 19.7 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006806, allocations: 4 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.006829, allocations: 45.33 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.006831, allocations: 0 / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.007379, allocations: 173.2 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.007412, allocations: 51.41 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.007549, allocations: 230.6 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.007563, allocations: 29.7 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.007619, allocations: 150.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.007646, allocations: 31.84 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.007679, allocations: 27.38 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007791, allocations: 0.5 MB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.007814, allocations: 11.98 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.007833, allocations: 12 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.007882, allocations: 31.67 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007883, allocations: 3.938 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.43e-05/0.007977, allocations: 73.59 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007993, allocations: 8 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.007998, allocations: 4 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.008012, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.008093, allocations: 15.98 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.008098, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.008118, allocations: 8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008123, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.198e-05/0.008195, allocations: 164.5 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.008219, allocations: 19.91 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.00837, allocations: 87.11 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.008373, allocations: 432 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008376, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00838, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.008685, allocations: 381.4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008687, allocations: 0 / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.008731, allocations: 15.98 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.008736, allocations: 7.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.008744, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.008747, allocations: 3.938 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008748, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.008877, allocations: 243.5 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.008886, allocations: 3.953 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.0089, allocations: 7.938 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.008934, allocations: 4.031 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.00897, allocations: 15.92 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.008976, allocations: 4 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.00905, allocations: 163.9 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00905, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.009218, allocations: 23.94 kB / 384.4 MB, free: 11.92 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009228/0.01014, allocations: 436.4 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01028, allocations: 43.66 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01028, allocations: 4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.01031, allocations: 27.62 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.01053, allocations: 19.98 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.0109, allocations: 234.1 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.01094, allocations: 72.97 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.01097, allocations: 9.031 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.011, allocations: 24.55 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.011, allocations: 0 / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003454/0.01445, allocations: 1.48 MB / 386.7 MB, free: 9.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.1223401608876884]