Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001062/0.001062, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001118/0.001118, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2911/0.2911, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.497e-05, allocations: 3.078 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002428/0.002453, allocations: 1.686 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.003187, allocations: 0.5374 MB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.003241, allocations: 0 / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.003445, allocations: 31.78 kB / 327.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.003657, allocations: 75.56 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.003873, allocations: 115.6 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.004006, allocations: 72.39 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.004087, allocations: 4 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.004143, allocations: 31.91 kB / 327.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.004196, allocations: 15.92 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.004208, allocations: 4 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.004269, allocations: 31.98 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.004305, allocations: 11.92 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.004332, allocations: 15.92 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.004458, allocations: 79.69 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00446, allocations: 0 / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004461, allocations: 0 / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004465, allocations: 0 / 328 MB, free: 4.918 MB / 298.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.0002973/0.004762, allocations: 281.9 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004798, allocations: 8.031 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.004828, allocations: 4.938 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.004951, allocations: 133.7 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.004957, allocations: 384 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.004973, allocations: 4.375 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.005061, allocations: 66.89 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005069, allocations: 192 / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.005079, allocations: 8.109 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.005083, allocations: 0 / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.005102, allocations: 4 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.005311, allocations: 163.1 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.005429, allocations: 33.34 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.005443, allocations: 4.859 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.005462, allocations: 8.141 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.00548, allocations: 34.56 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.005481, allocations: 4 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002399/0.005721, allocations: 89.92 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.005751, allocations: 55.34 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.005833, allocations: 144.3 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.005843, allocations: 29.7 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.005872, allocations: 88.12 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.005891, allocations: 23.78 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.005917, allocations: 17.72 kB / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.005986, allocations: 318.8 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.005996, allocations: 4 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.006006, allocations: 8 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.006034, allocations: 19.67 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006035, allocations: 192 / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.481e-05/0.00609, allocations: 57.56 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.006101, allocations: 6.188 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006105, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006116, allocations: 4 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.006155, allocations: 11.98 kB / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006157, allocations: 0 / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.006172, allocations: 4 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006178, allocations: 4 kB / 329.6 MB, free: 3.148 MB / 298.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 5.389e-05/0.006232, allocations: 116.7 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.006249, allocations: 7.938 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.006336, allocations: 62.08 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006339, allocations: 4.281 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.00634, allocations: 0 / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.006344, allocations: 3.984 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.006511, allocations: 206.8 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.006514, allocations: 3.938 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.00654, allocations: 11.94 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006542, allocations: 4 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.006547, allocations: 4 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.00655, allocations: 3.984 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00655, allocations: 0 / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.006619, allocations: 139.5 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006628, allocations: 16.14 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.006637, allocations: 0 / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.006668, allocations: 11.92 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.006688, allocations: 4 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.006692, allocations: 4 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.74e-05/0.006719, allocations: 34.23 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006719, allocations: 4 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.006847, allocations: 23.92 kB / 330.3 MB, free: 2.438 MB / 298.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.001062/0.00791, allocations: 0.5001 MB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.202e-05/0.007982, allocations: 16.86 kB / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.007985, allocations: 0 / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.008006, allocations: 24.78 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.00819, allocations: 15.94 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.008469, allocations: 171.2 kB / 331 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.00851, allocations: 63.34 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.138e-05/0.008541, allocations: 7.984 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.008595, allocations: 67.36 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008596, allocations: 0 / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of Templates: time 0.002795/0.01139, allocations: 1.253 MB / 332.4 MB, free: 0.5391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.8920308612287045]