Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0009853/0.0009853, 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.001092/0.001092, 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 0.9786/0.9786, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2608/0.2608, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.664e-05, allocations: 6.25 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002519/0.002546, allocations: 1.717 MB / 377.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.003307, allocations: 0.553 MB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.003366, allocations: 4 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.00382, allocations: 451.1 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.004223, allocations: 287.2 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.004497, allocations: 139.5 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.004738, allocations: 171.7 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.004838, allocations: 15.98 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004971, allocations: 127.6 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.00516, allocations: 239.6 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005178, allocations: 7.938 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.005276, allocations: 55.91 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.005364, allocations: 79.72 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.005403, allocations: 39.73 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.005634, allocations: 207.1 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005638, allocations: 4 kB / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005639, allocations: 0 / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.005645, allocations: 3.938 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00059/0.006235, allocations: 0.7009 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.006274, allocations: 8.031 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.006344, allocations: 44.66 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.00654, allocations: 244.9 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.006552, allocations: 8.375 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.006576, allocations: 8.359 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006712, allocations: 62.89 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.006724, allocations: 4.188 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.006735, allocations: 4.125 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006743, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.00678, allocations: 19.98 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.007194, allocations: 431.6 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.779e-05/0.007262, allocations: 42.98 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.007283, allocations: 11.69 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.007303, allocations: 8 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.00733, allocations: 37.42 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.007331, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005915/0.007922, allocations: 257 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.007953, allocations: 51.41 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.008343, allocations: 0.6277 MB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.008354, allocations: 25.7 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.008494, allocations: 286.7 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.008522, allocations: 39.72 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.008563, allocations: 27.38 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.008709, allocations: 0.5586 MB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.008731, allocations: 8 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.008749, allocations: 7.984 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.008802, allocations: 35.86 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.008803, allocations: 7.938 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.008911, allocations: 105.4 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008925, allocations: 8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00893, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.008944, allocations: 4.094 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.009027, allocations: 19.97 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.009033, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.00906, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.009067, allocations: 8 kB / 383.8 MB, free: 12.67 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.692e-05/0.009144, allocations: 168.4 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.009178, allocations: 43.72 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.009334, allocations: 109.5 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009337, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.00934, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.009344, allocations: 3.984 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.009731, allocations: 0.497 MB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009733, allocations: 4 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.009776, allocations: 15.98 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.009779, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.009786, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009788, allocations: 7.938 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.009791, allocations: 3.938 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.0102, allocations: 275.3 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01022, allocations: 31.72 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01024, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.01028, allocations: 4 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01032, allocations: 15.92 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.01032, allocations: 4 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002431/0.01057, allocations: 426.8 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01057, allocations: 0 / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01075, allocations: 27.94 kB / 385.4 MB, free: 10.96 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.000917/0.01167, allocations: 452.5 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.0118, allocations: 35.67 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0118, allocations: 4 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.01183, allocations: 27.61 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01209, allocations: 25.95 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.0128, allocations: 0.6079 MB / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.01288, allocations: 119.2 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.08e-05/0.01292, allocations: 17.03 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.01295, allocations: 20.48 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01295, allocations: 0 / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of Templates: time 0.004487/0.01744, allocations: 1.71 MB / 388.4 MB, free: 8.066 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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: 2.9578476171009243]