Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.004607/0.004607, allocations: 80.34 kB / 22.21 MB, free: 2.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 165.5 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.114/1.114, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1545/0.1545, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.199e-05/4.51e-05, allocations: 3.156 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002627/0.002672, allocations: 1.637 MB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.00349, allocations: 0.5523 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.003574, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.004061, allocations: 455.1 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.004467, allocations: 295.2 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.004798, allocations: 163.5 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.005012, allocations: 175.6 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005124, allocations: 7.984 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.005233, allocations: 123.8 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.005421, allocations: 239.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.005438, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.005506, allocations: 23.98 kB / 383.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.005592, allocations: 87.66 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.005629, allocations: 35.73 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.005827, allocations: 187.2 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005831, allocations: 4 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005832, allocations: 0 / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.00584, allocations: 0 / 384 MB, free: 18.76 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.0004999/0.00634, allocations: 0.6891 MB / 384.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.006383, allocations: 12.03 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.006444, allocations: 48.66 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006621, allocations: 248.8 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006632, allocations: 4.375 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.006639, allocations: 384 / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.006733, allocations: 50.95 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.006743, allocations: 4.172 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.006751, allocations: 8.375 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.006757, allocations: 384 / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.006775, allocations: 15.92 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.007069, allocations: 324.3 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.007115, allocations: 31.06 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.007131, allocations: 11.75 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.00715, allocations: 0 / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.007178, allocations: 41.38 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.007179, allocations: 0 / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.00733, allocations: 89.3 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.007352, allocations: 51.41 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.007652, allocations: 0.6079 MB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.00766, allocations: 25.7 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.007774, allocations: 298.7 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.007795, allocations: 11.89 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.007823, allocations: 15.38 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.007927, allocations: 0.5586 MB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.007937, allocations: 4 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.007944, allocations: 0 / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.007966, allocations: 15.88 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007969, allocations: 0 / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.942e-05/0.008038, allocations: 89.34 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.00805, allocations: 4 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.008056, allocations: 3.938 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.008067, allocations: 0 / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.008136, allocations: 7.938 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008141, allocations: 0 / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.008167, allocations: 4 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.008173, allocations: 3.984 kB / 387.2 MB, free: 15.3 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 (2): * Single equations (assignments): 2 * 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 6.259e-05/0.008236, allocations: 160.6 kB / 387.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.008268, allocations: 43.72 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.008369, allocations: 76.69 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008371, allocations: 3.938 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008374, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.008377, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.008524, allocations: 201.1 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.008525, allocations: 0 / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.008546, allocations: 4 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008548, allocations: 4.031 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.008554, allocations: 0 / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008555, allocations: 3.984 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008556, allocations: 3.938 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/0.008645, allocations: 227.7 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.008667, allocations: 31.72 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.008684, allocations: 7.984 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.008717, allocations: 0 / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.008732, allocations: 3.938 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.008734, allocations: 0 / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.008896, allocations: 402.7 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008896, allocations: 0 / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.009064, allocations: 16 kB / 388.4 MB, free: 14.07 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 (2): * Single equations (assignments): 2 * 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.0007156/0.00978, allocations: 329.9 kB / 388.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.009857, allocations: 11.69 kB / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009859, allocations: 0 / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.009869, allocations: 11.75 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01014, allocations: 30.02 kB / 388.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.01067, allocations: 0.5747 MB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01073, allocations: 123.1 kB / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.01076, allocations: 7.984 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.01081, allocations: 74.2 kB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01081, allocations: 0 / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003901/0.01471, allocations: 1.254 MB / 390.8 MB, free: 11.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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: 3.641916831023991]