Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001004/0.001004, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001121/0.001121, allocations: 167.7 kB / 24.81 MB, free: 9.27 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 0.9306/0.9306, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2439/0.2439, allocations: 32.8 MB / 294.6 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.CombiTable1Dv.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.474e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002194/0.002208, allocations: 1.648 MB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.002927, allocations: 0.5414 MB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.002985, allocations: 0 / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.003241, allocations: 127.6 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.003461, allocations: 131.5 kB / 378.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.003649, allocations: 111.6 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003773, allocations: 103.7 kB / 379.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.003854, allocations: 15.98 kB / 379.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.003919, allocations: 51.88 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.004019, allocations: 91.83 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.00403, allocations: 0 / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.004096, allocations: 51.91 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.004136, allocations: 27.86 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.004157, allocations: 11.94 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004286, allocations: 99.59 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004287, allocations: 0 / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004288, allocations: 0 / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004291, allocations: 4 kB / 379.5 MB, free: 1.355 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003245/0.004616, allocations: 475.6 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.004647, allocations: 16.03 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.004677, allocations: 16.84 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.00479, allocations: 152.4 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.004798, allocations: 384 / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.004814, allocations: 4.375 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.004899, allocations: 58.94 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.004909, allocations: 192 / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.004916, allocations: 4.125 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004922, allocations: 0 / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.004944, allocations: 11.94 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.005176, allocations: 272.4 kB / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.005232, allocations: 51.03 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.005248, allocations: 15.62 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.005268, allocations: 0 / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.005286, allocations: 37.33 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005287, allocations: 0 / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004286/0.005716, allocations: 161.6 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.005738, allocations: 55.41 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.005875, allocations: 266.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005885, allocations: 33.7 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.005942, allocations: 162.8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.005967, allocations: 35.72 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.005997, allocations: 27.38 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.006105, allocations: 0.504 MB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.006118, allocations: 8 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.00613, allocations: 4.078 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.006168, allocations: 43.73 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006169, allocations: 3.75 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.159e-05/0.00624, allocations: 73.59 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006251, allocations: 14.19 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006254, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006265, allocations: 432 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.006321, allocations: 15.98 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.006323, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.006341, allocations: 7.938 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006345, allocations: 0 / 382 MB, free: 14.66 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.055e-05/0.006406, allocations: 164.5 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.006427, allocations: 15.91 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.006535, allocations: 91.09 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.006536, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006538, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006541, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.006792, allocations: 357.5 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006794, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.00683, allocations: 19.92 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006833, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006838, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006839, allocations: 3.938 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00684, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.006942, allocations: 239.5 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.006952, allocations: 11.91 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.006965, allocations: 7.984 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.006999, allocations: 4 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.00702, allocations: 7.922 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.007025, allocations: 8 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.007095, allocations: 184.1 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007095, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.007254, allocations: 19.94 kB / 383.1 MB, free: 13.46 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.0008352/0.008089, allocations: 438.7 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.008163, allocations: 39.59 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008165, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.00819, allocations: 31.67 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.008385, allocations: 15.98 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.008698, allocations: 267.2 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.711e-05/0.008745, allocations: 79.33 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.008778, allocations: 13.02 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.008835, allocations: 82.2 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008836, allocations: 4 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Templates: time 0.003243/0.01208, allocations: 1.567 MB / 385.6 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.8249676092527807]