Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.0009388/0.0009388, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001471/0.001471, allocations: 161.8 kB / 25.61 MB, free: 8.547 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.9084/0.9084, allocations: 177.1 MB / 206 MB, free: 4.461 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.1342/0.1342, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.11e-07/9.11e-07, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.342e-05, allocations: 10.14 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001627/0.001641, allocations: 1.669 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000582/0.002223, allocations: 0.5492 MB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.002272, allocations: 0 / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.002477, allocations: 103.6 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.002674, allocations: 111.5 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.002865, allocations: 111.7 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.00298, allocations: 111.7 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.00306, allocations: 15.98 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.003117, allocations: 63.81 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.003187, allocations: 59.86 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.003199, allocations: 4 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.003261, allocations: 47.92 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.003297, allocations: 23.91 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.003319, allocations: 23.88 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.003435, allocations: 115.5 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003436, allocations: 4 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003437, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.00344, allocations: 4 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002642/0.003704, allocations: 459.7 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.5e-05/0.003729, allocations: 12.03 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.003759, allocations: 20.84 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.003852, allocations: 156.3 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.00386, allocations: 8.375 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.003876, allocations: 8.375 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.398e-05/0.00395, allocations: 62.94 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.003959, allocations: 192 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.003966, allocations: 12.12 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.003971, allocations: 4 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.003997, allocations: 19.97 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.004203, allocations: 296.2 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.004254, allocations: 54.98 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.004269, allocations: 15.67 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.004283, allocations: 7.984 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.004296, allocations: 37.33 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004297, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004253/0.004722, allocations: 232.3 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.004739, allocations: 55.41 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.004821, allocations: 244.1 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.004827, allocations: 25.7 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.004859, allocations: 158.8 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.004882, allocations: 51.52 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.004911, allocations: 39.36 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.00495, allocations: 0.5039 MB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.004967, allocations: 19.94 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.004984, allocations: 15.98 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.005036, allocations: 43.67 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.005037, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.189e-05/0.005119, allocations: 96.59 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.005128, allocations: 4 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.005131, allocations: 0 / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.005138, allocations: 3.984 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.0052, allocations: 27.92 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.005203, allocations: 4 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.005221, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005227, allocations: 12 kB / 385 MB, free: 17.49 MB / 314.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 (13): * Single equations (assignments): 13 * 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 3.826e-05/0.005266, allocations: 160.5 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.00529, allocations: 19.91 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.005409, allocations: 115.5 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005411, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005413, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005416, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.005652, allocations: 405.4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005653, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.005698, allocations: 32.02 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0057, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.005704, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.005706, allocations: 7.938 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005708, allocations: 3.938 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.554e-05/0.005793, allocations: 251.5 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.005801, allocations: 11.91 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.005813, allocations: 7.984 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.005848, allocations: 4 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.005869, allocations: 15.92 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.005873, allocations: 4 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.005912, allocations: 185 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.005913, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.006079, allocations: 27.94 kB / 386.2 MB, free: 16.18 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0007547/0.006834, allocations: 439.7 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.006924, allocations: 51.66 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.006925, allocations: 0 / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.006952, allocations: 35.61 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.007145, allocations: 31.09 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.007402, allocations: 282.4 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.007429, allocations: 83.19 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.007467, allocations: 20.47 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.007514, allocations: 82.2 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.007514, allocations: 0 / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.002758/0.01027, allocations: 1.809 MB / 389 MB, free: 13.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.832671237178147]