Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001407/0.001407, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.001658/0.001658, allocations: 208.2 kB / 23.72 MB, free: 4.527 MB / 14.72 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.261/0.261, allocations: 46.96 MB / 360.9 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 179] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 67.89 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4233, allocations: 66.03 MB / 0.5611 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003875/0.4271, allocations: 1.597 MB / 0.5626 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.4294, allocations: 1.228 MB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.4295, allocations: 4 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.4297, allocations: 23.8 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.4301, allocations: 83.61 kB / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.4303, allocations: 91.69 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.4305, allocations: 67.84 kB / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4306, allocations: 7.984 kB / 0.5641 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.4307, allocations: 35.84 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4308, allocations: 23.86 kB / 0.5642 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4308, allocations: 8 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.431, allocations: 99.88 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.4311, allocations: 15.92 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.4311, allocations: 11.94 kB / 0.5643 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4314, allocations: 146.1 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4314, allocations: 0 / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4314, allocations: 0 / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4314, allocations: 3.938 kB / 0.5644 GB, free: 0.8594 MB / 398.1 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.0006246/0.432, allocations: 325.7 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4321, allocations: 12.03 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.4321, allocations: 12.89 kB / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.4324, allocations: 133.1 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4324, allocations: 4.375 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.4324, allocations: 8.359 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.4326, allocations: 89.23 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4326, allocations: 7.875 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4327, allocations: 0 / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4327, allocations: 7.984 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.4328, allocations: 23.97 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.4332, allocations: 224.5 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.4335, allocations: 42.5 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.4335, allocations: 12.86 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4335, allocations: 96 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4336, allocations: 42.55 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4336, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.4342, allocations: 137.4 kB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4342, allocations: 81.11 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4344, allocations: 144.3 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4344, allocations: 25.7 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.4345, allocations: 96.12 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4345, allocations: 23.8 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.4346, allocations: 17.7 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4347, allocations: 318.8 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.4348, allocations: 24.05 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.4349, allocations: 59.39 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.435, allocations: 48.88 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.435, allocations: 0 / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.4352, allocations: 85.55 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4353, allocations: 4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4353, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4353, allocations: 4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.4353, allocations: 11.94 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4353, allocations: 7.984 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.4354, allocations: 4 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4354, allocations: 0 / 0.5664 GB, free: 14.66 MB / 414.1 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.0001014/0.4355, allocations: 117.8 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4355, allocations: 7.953 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4358, allocations: 102 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4358, allocations: 0 / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4358, allocations: 4 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4358, allocations: 0 / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.4362, allocations: 286.5 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4362, allocations: 0 / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.4363, allocations: 23.92 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4363, allocations: 0 / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4363, allocations: 0 / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4363, allocations: 0 / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4363, allocations: 3.938 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4366, allocations: 183.4 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.4366, allocations: 11.95 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4366, allocations: 4 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.4367, allocations: 7.984 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4367, allocations: 3.938 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4367, allocations: 0 / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4369, allocations: 115.2 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4369, allocations: 0 / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.4371, allocations: 39.86 kB / 0.5673 GB, free: 13.69 MB / 414.1 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.001871/0.439, allocations: 0.5276 MB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4392, allocations: 47.97 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4392, allocations: 0 / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.4393, allocations: 27.97 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.4397, allocations: 14.81 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.4401, allocations: 169.5 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.4402, allocations: 84.64 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.4402, allocations: 20 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.4403, allocations: 15.42 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4403, allocations: 0 / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Templates: time 0.005455/0.4457, allocations: 1.837 MB / 0.5699 GB, free: 11.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.464098451193422]