Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001141/0.001141, 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.001444/0.001444, allocations: 161 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 0.9985/0.9985, allocations: 177.1 MB / 205 MB, free: 5.625 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.2892/0.2892, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.169e-05, allocations: 2.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003698/0.003729, allocations: 1.646 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.005713, allocations: 1.27 MB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.005793, allocations: 0 / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.006069, allocations: 19.86 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.006523, allocations: 99.42 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.006883, allocations: 91.69 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.00709, allocations: 71.77 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.007209, allocations: 4 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.007309, allocations: 43.83 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.00746, allocations: 19.98 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.007483, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.007697, allocations: 87.81 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.007763, allocations: 11.98 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.007805, allocations: 15.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.008138, allocations: 139.5 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.008143, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.008144, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.00815, allocations: 0 / 381.6 MB, free: 15.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005831/0.008733, allocations: 432 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.008781, allocations: 8.031 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.008846, allocations: 12.88 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.009063, allocations: 128.6 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.00908, allocations: 4.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.009114, allocations: 8.312 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.009316, allocations: 104 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.009327, allocations: 192 / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.009343, allocations: 8.125 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.009352, allocations: 0 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.009395, allocations: 7.938 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.009793, allocations: 275.8 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.01001, allocations: 46.98 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.01005, allocations: 15.69 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.01007, allocations: 3.938 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.01011, allocations: 41.47 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.01011, allocations: 4 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000495/0.0106, allocations: 101.4 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01065, allocations: 77.11 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01084, allocations: 196.1 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.01085, allocations: 25.7 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.01092, allocations: 142.9 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.01096, allocations: 19.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.011, allocations: 27.36 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.001208/0.01221, allocations: 496.1 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.01228, allocations: 11.98 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.01236, allocations: 57.2 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.01242, allocations: 23.69 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01242, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001558/0.01258, allocations: 61.62 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.0126, allocations: 4 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01261, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.01263, allocations: 4 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01273, allocations: 11.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01274, allocations: 3.938 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.01279, allocations: 7.953 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01279, allocations: 4.031 kB / 383.9 MB, free: 12.53 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 (5): * Single equations (assignments): 5 * 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.0001031/0.0129, allocations: 156.6 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.01294, allocations: 15.89 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.01313, allocations: 66.12 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01313, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01314, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01314, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.01353, allocations: 325.3 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01353, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.0136, allocations: 15.92 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.0136, allocations: 4.281 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01362, allocations: 8.188 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.01362, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01362, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01379, allocations: 207.8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01382, allocations: 15.94 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01384, allocations: 3.984 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.01391, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01395, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01396, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01407, allocations: 157 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01407, allocations: 4 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.01441, allocations: 39.86 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001438/0.01585, allocations: 469 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.016, allocations: 39.67 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.016, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.01604, allocations: 31.55 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.01637, allocations: 27.84 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.01681, allocations: 165.9 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.01687, allocations: 66.38 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.01693, allocations: 8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.01698, allocations: 28.48 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01698, allocations: 0 / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.00512/0.0221, allocations: 1.825 MB / 387.5 MB, free: 8.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.3874593800865114]