Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001102/0.001102, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001134/0.001134, allocations: 165.3 kB / 24.99 MB, free: 8.336 MB / 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.016/1.016, allocations: 177.1 MB / 205.3 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.3015/0.3015, allocations: 34.26 MB / 296 MB, free: 0.7734 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.991e-05, allocations: 6.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.008849/0.008878, allocations: 1.633 MB / 379.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.009773, allocations: 0.5297 MB / 380.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.009846, allocations: 4 kB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.01011, allocations: 35.72 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.01044, allocations: 75.62 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.01075, allocations: 91.62 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.01092, allocations: 71.81 kB / 380.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.01104, allocations: 8 kB / 380.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.01111, allocations: 31.86 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.01117, allocations: 11.92 kB / 380.5 MB, free: 472 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.01119, allocations: 4 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.01129, allocations: 43.91 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.01134, allocations: 11.92 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.01137, allocations: 11.94 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.01156, allocations: 75.73 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01156, allocations: 0 / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01156, allocations: 0 / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.01157, allocations: 0 / 380.7 MB, free: 324 kB / 346.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.0004998/0.01207, allocations: 412.1 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.01211, allocations: 12.03 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.01217, allocations: 8.891 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.01234, allocations: 136.5 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.01235, allocations: 12.31 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.01237, allocations: 384 / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.01251, allocations: 54.95 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01252, allocations: 192 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.01254, allocations: 4.125 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.01255, allocations: 7.984 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.01258, allocations: 7.938 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.01291, allocations: 271.8 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.01313, allocations: 43.05 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.01315, allocations: 11.69 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01318, allocations: 11.94 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.0132, allocations: 33.39 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.01321, allocations: 7.922 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003957/0.0136, allocations: 105.5 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01363, allocations: 59.33 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01385, allocations: 204.9 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.01386, allocations: 25.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.01391, allocations: 142.9 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.01394, allocations: 15.91 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.01397, allocations: 27.36 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01408, allocations: 0.4962 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.0141, allocations: 7.984 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.01412, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.01415, allocations: 23.69 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01416, allocations: 0 / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.791e-05/0.01423, allocations: 65.53 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01425, allocations: 4 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01425, allocations: 4 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01426, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.01431, allocations: 11.98 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01432, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.01434, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.01434, allocations: 0 / 382.9 MB, free: 13.91 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 7.596e-05/0.01442, allocations: 160.5 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.01444, allocations: 11.95 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.01456, allocations: 70.06 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01457, allocations: 3.938 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01457, allocations: 4 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01457, allocations: 0 / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.01481, allocations: 325.7 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01481, allocations: 4 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.01484, allocations: 16.06 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01485, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01485, allocations: 3.984 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01486, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01486, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.01496, allocations: 215.8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.01497, allocations: 3.953 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01498, allocations: 0 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.01501, allocations: 4 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.01504, allocations: 3.984 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.01504, allocations: 8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.01511, allocations: 158.1 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01511, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.01526, allocations: 11.98 kB / 383.8 MB, free: 12.85 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.0008497/0.01611, allocations: 391.5 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.01621, allocations: 31.62 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01622, allocations: 0 / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.01624, allocations: 19.67 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01645, allocations: 15.98 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.01679, allocations: 186.5 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.01683, allocations: 59.34 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01686, allocations: 15.98 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.01689, allocations: 12.5 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01689, allocations: 3.938 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003176/0.02006, allocations: 1.164 MB / 385.7 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.286179232178256]