Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001319/0.001319, allocations: 80.41 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.00148/0.00148, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.8855/0.8855, allocations: 177.1 MB / 206 MB, free: 4.504 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.156/0.156, allocations: 34.26 MB / 296.9 MB, free: 13.95 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 7.938 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.431e-05, allocations: 5.547 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001556/0.00157, allocations: 1.626 MB / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.002103, allocations: 0.5298 MB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.002149, allocations: 3.938 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.002318, allocations: 31.78 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.002494, allocations: 75.62 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.002661, allocations: 115.6 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.002761, allocations: 71.77 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.002832, allocations: 15.84 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.002873, allocations: 27.92 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.002915, allocations: 15.92 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.00293, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.00298, allocations: 39.91 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.003013, allocations: 19.92 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.003031, allocations: 7.938 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.003131, allocations: 75.73 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003132, allocations: 7.938 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.003133, allocations: 0 / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.003136, allocations: 0 / 382 MB, free: 20.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002377/0.003373, allocations: 420.1 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.649e-05/0.0034, allocations: 8.031 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.003425, allocations: 8.891 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.00351, allocations: 141 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.003518, allocations: 4.375 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.00353, allocations: 384 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.338e-05/0.003594, allocations: 62.69 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003601, allocations: 4 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.003607, allocations: 3.938 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003611, allocations: 3.938 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.003628, allocations: 4 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.003785, allocations: 256.4 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.003885, allocations: 43.03 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.003899, allocations: 19.56 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.00391, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.003921, allocations: 33.39 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.003922, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.004132, allocations: 89.59 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.004148, allocations: 59.39 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.00421, allocations: 208.7 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.004215, allocations: 25.7 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.00424, allocations: 150.8 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.004255, allocations: 15.91 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.004276, allocations: 23.36 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.004311, allocations: 0.4923 MB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.00432, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.004329, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.004354, allocations: 27.67 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.004355, allocations: 4.125 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.083e-05/0.004406, allocations: 65.58 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.004414, allocations: 8 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.004417, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.004425, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.347e-05/0.004459, allocations: 11.98 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004461, allocations: 0 / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.004477, allocations: 4 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.004481, allocations: 0 / 384.1 MB, free: 18.38 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 (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 3.317e-05/0.004514, allocations: 164.5 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.004532, allocations: 7.953 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.004606, allocations: 81.95 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.004607, allocations: 0 / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.004609, allocations: 4 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.004611, allocations: 0 / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.004747, allocations: 302 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004748, allocations: 0 / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.00477, allocations: 11.94 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004771, allocations: 0 / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.004775, allocations: 4.281 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004776, allocations: 4 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004776, allocations: 0 / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.878e-05/0.004835, allocations: 208.1 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.004842, allocations: 15.92 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.004851, allocations: 4 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.004881, allocations: 4 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.0049, allocations: 4 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004902, allocations: 0 / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.004931, allocations: 154.4 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004931, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000152/0.005084, allocations: 23.98 kB / 385.1 MB, free: 17.34 MB / 314.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.0007104/0.005794, allocations: 380.4 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.028e-05/0.005854, allocations: 31.67 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-06/0.005855, allocations: 0 / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.00587, allocations: 19.67 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.006048, allocations: 22.92 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.006247, allocations: 180.2 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.091e-05/0.006268, allocations: 71.19 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.006293, allocations: 8 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.006329, allocations: 82.19 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00633, allocations: 0 / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of Templates: time 0.002344/0.008674, allocations: 1.3 MB / 387.2 MB, free: 15.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.8730598338879645]