Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0009814/0.0009814, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009845/0.0009845, allocations: 165 kB / 24.56 MB, free: 12 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.9935/0.9935, 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.2793/0.2793, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.985e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.004488/0.004508, allocations: 1.65 MB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.005357, allocations: 0.5376 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.005413, allocations: 0 / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.00565, allocations: 75.7 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.005931, allocations: 107.5 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.006172, allocations: 99.56 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.006333, allocations: 87.8 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004106/0.01044, allocations: 8 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.01055, allocations: 51.81 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.01065, allocations: 55.88 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.01066, allocations: 3.938 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.01075, allocations: 47.92 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.0108, allocations: 19.92 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.01083, allocations: 15.92 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.01098, allocations: 83.73 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01099, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01099, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.01099, 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.0004023/0.01139, allocations: 447.8 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.01143, allocations: 12.02 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.01147, allocations: 20.84 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.01161, allocations: 141.1 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.01162, allocations: 4.375 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.01163, allocations: 384 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.01174, allocations: 62.94 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01175, allocations: 192 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.01176, allocations: 8.125 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01177, allocations: 0 / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.0118, allocations: 23.91 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.0121, allocations: 287.7 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.808e-05/0.01217, allocations: 43.05 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.0122, allocations: 15.62 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.01221, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.01224, allocations: 41.33 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.01224, allocations: 0 / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005397/0.01278, allocations: 173.4 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.01281, allocations: 51.41 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01296, allocations: 238.4 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.01297, allocations: 29.7 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.01304, allocations: 158.8 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.01306, allocations: 27.8 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.0131, allocations: 23.38 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00315/0.01625, allocations: 0.5 MB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.01629, allocations: 15.98 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.01632, allocations: 12.06 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.01638, allocations: 39.62 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01638, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001233/0.01651, allocations: 85.58 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01652, allocations: 5.719 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01653, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01654, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.01662, allocations: 12 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01663, allocations: 4 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.01666, allocations: 3.984 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.01666, allocations: 4 kB / 383.4 MB, free: 13.09 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 8.507e-05/0.01675, allocations: 172.4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.01678, allocations: 16.33 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.01694, allocations: 83.14 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01694, allocations: 4 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01694, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.01695, allocations: 7.969 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.01732, allocations: 377.4 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01732, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.01737, allocations: 15.98 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01737, allocations: 4.031 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01738, allocations: 7.938 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01738, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01738, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01753, allocations: 235.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.01754, allocations: 15.94 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01756, allocations: 4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.01761, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.01764, allocations: 11.92 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01764, allocations: 4 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.01773, allocations: 167.2 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01773, allocations: 8 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01796, allocations: 19.94 kB / 384.5 MB, free: 11.87 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.001006/0.01897, allocations: 433 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01908, allocations: 43.66 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01908, allocations: 0 / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.01914, allocations: 35.61 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01941, allocations: 15.95 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.01977, allocations: 237.9 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01981, allocations: 67.34 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.01985, allocations: 17.02 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01988, allocations: 12.5 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01988, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003028/0.02291, allocations: 1.484 MB / 386.8 MB, free: 9.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.161408727057278]