Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.004167/0.004167, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001269/0.001269, allocations: 165.4 kB / 24.56 MB, free: 16 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 1.002/1.002, allocations: 177.2 MB / 205 MB, free: 5.277 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.308/0.308, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.595e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002399/0.002425, allocations: 1.653 MB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.003243, allocations: 0.5415 MB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.003318, allocations: 0 / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.003689, allocations: 111.6 kB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.004127, allocations: 119.4 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.004437, allocations: 91.69 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.004616, allocations: 91.73 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004725, allocations: 19.92 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.004846, allocations: 51.88 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.004981, allocations: 67.86 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.005, allocations: 4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.005103, allocations: 43.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.005159, allocations: 19.92 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.005198, allocations: 19.92 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005418, allocations: 103.5 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005421, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005423, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005427, allocations: 0 / 381 MB, free: 15.7 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.000503/0.00593, allocations: 455.8 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.00597, allocations: 12.03 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.006025, allocations: 20.84 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.00619, allocations: 145.2 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.006201, allocations: 4.375 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.006223, allocations: 8.344 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.006366, allocations: 62.89 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006377, allocations: 192 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.006387, allocations: 4.125 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006394, allocations: 3.938 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.006438, allocations: 19.98 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.006822, allocations: 295.7 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.006891, allocations: 46.98 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.006913, allocations: 15.62 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.006928, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.006949, allocations: 37.39 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.00695, allocations: 0 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.007461, allocations: 177.4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.0075, allocations: 55.41 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.007659, allocations: 275 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.007672, allocations: 25.7 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.007741, allocations: 158.9 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.007767, allocations: 27.75 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.0078, allocations: 27.36 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.00793, allocations: 0.504 MB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.007952, allocations: 4 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.00797, allocations: 15.98 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.008014, allocations: 27.69 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008016, allocations: 8 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.013e-05/0.008106, allocations: 77.59 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.008119, allocations: 10.19 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008124, allocations: 0 / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.008135, allocations: 3.938 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.008208, allocations: 15.98 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008213, allocations: 0 / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.008233, allocations: 8 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.008238, allocations: 0 / 383.5 MB, free: 12.98 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 6.997e-05/0.008308, allocations: 168.5 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.008331, allocations: 19.91 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.008467, allocations: 87.38 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.00847, allocations: 3.938 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.008475, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008478, allocations: 0 / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.008774, allocations: 389 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.008776, allocations: 4 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.008818, allocations: 15.98 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00882, allocations: 432 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.008827, allocations: 4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008829, allocations: 8.031 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008831, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.008959, allocations: 235.4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.008971, allocations: 19.88 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.008984, allocations: 4 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.009018, allocations: 4 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.009048, allocations: 11.92 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.009053, allocations: 4 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.496e-05/0.009138, allocations: 179.2 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009138, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.0093, allocations: 27.98 kB / 384.7 MB, free: 11.73 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.0008762/0.01018, allocations: 429.4 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.01027, allocations: 43.61 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01027, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.0103, allocations: 31.61 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01052, allocations: 19.92 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01089, allocations: 257.9 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01094, allocations: 75.33 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.01097, allocations: 16.7 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.011, allocations: 12.5 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.011, allocations: 3.938 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003258/0.01426, allocations: 1.49 MB / 387 MB, free: 9.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.155460831243545]