Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001593/0.001593, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001684/0.001684, allocations: 166.5 kB / 23.96 MB, free: 4.141 MB / 14.72 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.402/1.402, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.204/0.204, allocations: 32.82 MB / 293.5 MB, free: 24 kB / 270.1 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.586e-05, allocations: 9.312 kB / 440.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003272/0.003308, allocations: 1.65 MB / 441.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.005315, allocations: 1.282 MB / 443 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.005377, allocations: 3.938 kB / 443 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.00562, allocations: 27.78 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.005971, allocations: 83.56 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.006424, allocations: 179.2 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.006594, allocations: 83.7 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.006699, allocations: 8 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.006784, allocations: 43.89 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.006914, allocations: 27.89 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.006937, allocations: 8 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.007118, allocations: 99.75 kB / 443.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.007183, allocations: 19.92 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.00723, allocations: 19.94 kB / 443.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.007514, allocations: 151.5 kB / 443.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.00752, allocations: 4 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007522, allocations: 0 / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007527, allocations: 0 / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000598/0.008125, allocations: 341.6 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008163, allocations: 12.03 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.008211, allocations: 8.891 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.008413, allocations: 133.6 kB / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.008428, allocations: 12.38 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.008449, allocations: 384 / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.008694, allocations: 105.6 kB / 444.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.008706, allocations: 192 / 444.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008723, allocations: 8.125 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.008728, allocations: 0 / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.008876, allocations: 35.97 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.009365, allocations: 248.5 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.009515, allocations: 54.48 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.009599, allocations: 28.88 kB / 444.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.009624, allocations: 0 / 444.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.009662, allocations: 34.56 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.009663, allocations: 0 / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008827/0.01055, allocations: 233.5 kB / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.01062, allocations: 89.03 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01079, allocations: 145.8 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.01081, allocations: 25.7 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.01088, allocations: 96.12 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.01092, allocations: 27.75 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.01096, allocations: 21.72 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01111, allocations: 318.8 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01124, allocations: 43.97 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01139, allocations: 79.38 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.01164, allocations: 92.8 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01164, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000317/0.01196, allocations: 125.6 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01197, allocations: 10.66 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01198, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01199, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01212, allocations: 19.98 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01213, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.0122, allocations: 15.92 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01221, allocations: 4 kB / 446.1 MB, free: 1.898 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.0001207/0.01233, allocations: 125.8 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.01237, allocations: 11.89 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.01275, allocations: 134.4 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01276, allocations: 4 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01276, allocations: 0 / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01277, allocations: 0 / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.01333, allocations: 354.4 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01334, allocations: 0 / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.01343, allocations: 23.98 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.01343, allocations: 4 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01344, allocations: 4 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01344, allocations: 0 / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01344, allocations: 0 / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01382, allocations: 231.4 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.01384, allocations: 11.94 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01387, allocations: 0 / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.01396, allocations: 11.98 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.01401, allocations: 7.938 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01402, allocations: 4 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.01412, allocations: 115.2 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01412, allocations: 0 / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.01442, allocations: 47.8 kB / 447.2 MB, free: 0.7578 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.00198/0.0164, allocations: 0.5177 MB / 447.7 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01678, allocations: 87.92 kB / 447.8 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01678, allocations: 0 / 447.8 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.01692, allocations: 51.89 kB / 447.8 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.01724, allocations: 26.81 kB / 447.9 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.01788, allocations: 229.2 kB / 448.1 MB, free: 44 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1706/0.1885, allocations: 77.28 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1886, allocations: 23.78 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.1887, allocations: 22.47 kB / 448.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1887, allocations: 0 / 448.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of Templates: time 0.005264/0.1939, allocations: 1.988 MB / 450.2 MB, free: 21.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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: 4.785766396671534]