Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001885/0.001885, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002097/0.002097, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3581/0.3581, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.831e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003092/0.003121, allocations: 1.622 MB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004287, allocations: 0.553 MB / 377.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.004335, allocations: 0 / 377.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.005009, allocations: 451.1 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.005533, allocations: 295.2 kB / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.005976, allocations: 175.4 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.006237, allocations: 171.6 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.006329, allocations: 19.97 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.006496, allocations: 115.8 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.006826, allocations: 243.5 kB / 378.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.006853, allocations: 4 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.006938, allocations: 23.98 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.007058, allocations: 87.66 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.007121, allocations: 35.73 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.007461, allocations: 239.1 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.007464, allocations: 0 / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007465, allocations: 0 / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007471, allocations: 3.938 kB / 379.3 MB, free: 0.9492 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009411/0.008412, allocations: 0.7046 MB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.008449, allocations: 12.03 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.008534, allocations: 44.66 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.0089, allocations: 252.8 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.00891, allocations: 384 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.00892, allocations: 384 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.009075, allocations: 54.25 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.009085, allocations: 192 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.009096, allocations: 4.125 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.0091, allocations: 3.938 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.009206, allocations: 27.92 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.009908, allocations: 459.7 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.01004, allocations: 43.05 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.0101, allocations: 27.77 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.01013, allocations: 7.938 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.01016, allocations: 37.33 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.01017, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003338/0.0105, allocations: 105.4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.01055, allocations: 51.41 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.01137, allocations: 0.6785 MB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01139, allocations: 25.7 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.01169, allocations: 302.8 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.01171, allocations: 11.95 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.01176, allocations: 23.36 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003487/0.01211, allocations: 0.5704 MB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.01216, allocations: 11.98 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.01221, allocations: 11.94 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.01232, allocations: 35.92 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01232, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.01252, allocations: 105.3 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01253, allocations: 4 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01254, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01255, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.01263, allocations: 19.98 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01263, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.01268, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01269, allocations: 4 kB / 382.9 MB, free: 13.14 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 (3): * Single equations (assignments): 3 * 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.0001264/0.01282, allocations: 156.5 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.01289, allocations: 47.66 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.01313, allocations: 97.12 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01313, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01313, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.01314, allocations: 7.984 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.01355, allocations: 316.5 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01355, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.01361, allocations: 15.94 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01361, allocations: 3.938 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.01362, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01362, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01362, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.01392, allocations: 251.6 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.01398, allocations: 31.72 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.01401, allocations: 15.92 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.01408, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.0141, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01411, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005/0.01461, allocations: 442.8 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01461, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01486, allocations: 19.94 kB / 384.3 MB, free: 11.68 MB / 362.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 (3): * Single equations (assignments): 3 * 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.002454/0.01731, allocations: 375 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01749, allocations: 39.59 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01749, allocations: 0 / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.01755, allocations: 23.69 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01792, allocations: 30.25 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.01892, allocations: 0.5821 MB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.01918, allocations: 204.1 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.01924, allocations: 19.91 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.01928, allocations: 12.5 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01928, allocations: 0 / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.005053/0.02433, allocations: 1.159 MB / 386.7 MB, free: 9.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.090653678984381]