Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001038/0.001038, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001828/0.001828, allocations: 174.2 kB / 24.91 MB, free: 9.195 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.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2722/0.2722, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.393e-05, allocations: 5.469 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002315/0.002339, allocations: 1.679 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.003063, allocations: 0.5413 MB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.003111, allocations: 0 / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.003298, allocations: 27.78 kB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.00359, allocations: 67.62 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.003854, allocations: 115.5 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003981, allocations: 67.81 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.004057, allocations: 12 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.004111, allocations: 31.86 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.004161, allocations: 23.91 kB / 325.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.004172, allocations: 0 / 325.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.004234, allocations: 31.98 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.004269, allocations: 15.92 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.004291, allocations: 15.92 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.004411, allocations: 63.75 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004413, allocations: 0 / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004414, allocations: 0 / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.004417, allocations: 4 kB / 326 MB, free: 6.945 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.0002692/0.004686, allocations: 281.7 kB / 326.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.004713, allocations: 15.97 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.004737, allocations: 8.938 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.004851, allocations: 129.7 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.004857, allocations: 384 / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.004871, allocations: 4.375 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.00495, allocations: 54.95 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004957, allocations: 192 / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.004963, allocations: 4.125 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.004967, allocations: 0 / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.004987, allocations: 15.98 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.005167, allocations: 167.7 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.005267, allocations: 33.34 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.00528, allocations: 8.859 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.005296, allocations: 4.078 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.005312, allocations: 30.56 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.005313, allocations: 0 / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000235/0.005548, allocations: 89.42 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.005573, allocations: 55.41 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.00565, allocations: 151 kB / 327 MB, free: 5.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.005658, allocations: 25.7 kB / 327 MB, free: 5.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.005684, allocations: 84.14 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.005711, allocations: 35.7 kB / 327.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.005735, allocations: 13.72 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.005941, allocations: 322.8 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.005951, allocations: 0 / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.005961, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.005991, allocations: 27.67 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005992, allocations: 192 / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.574e-05/0.006048, allocations: 49.62 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.00606, allocations: 12 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006064, allocations: 0 / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.006074, allocations: 0 / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.006116, allocations: 15.92 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006119, allocations: 3.984 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.006135, allocations: 4 kB / 327.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006139, allocations: 288 / 327.6 MB, free: 5.168 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.016e-05/0.006189, allocations: 116.7 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.006205, allocations: 7.938 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.00629, allocations: 66.12 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006292, allocations: 0 / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006293, allocations: 0 / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006295, allocations: 0 / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.006462, allocations: 214.8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.006465, allocations: 7.938 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.006493, allocations: 8 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006495, allocations: 0 / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.006498, allocations: 3.938 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.006501, allocations: 3.984 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006501, allocations: 0 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.006569, allocations: 147.7 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.006578, allocations: 15.89 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.006587, allocations: 4 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.00662, allocations: 7.984 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.00664, allocations: 0 / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.006643, allocations: 0 / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.006673, allocations: 35.66 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006673, allocations: 0 / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.0068, allocations: 15.98 kB / 328.2 MB, free: 4.465 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.000993/0.007793, allocations: 0.5044 MB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.007864, allocations: 20.8 kB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.007868, allocations: 4 kB / 328.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.007886, allocations: 16.84 kB / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.008042, allocations: 23 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.0083, allocations: 171.2 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.008336, allocations: 59.34 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.008366, allocations: 15.98 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.008417, allocations: 59.36 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.008418, allocations: 0 / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Templates: time 0.002644/0.01106, allocations: 1.252 MB / 330.4 MB, free: 2.566 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8188365809619427]