Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001435/0.001435, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001564/0.001564, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.506/1.506, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3797/0.3797, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.682e-05/4.867e-05, allocations: 3.859 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003749/0.003797, allocations: 1.621 MB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.005014, allocations: 0.5486 MB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.005068, allocations: 4 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.005766, allocations: 451 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.00636, allocations: 295.3 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.006834, allocations: 175.4 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.007122, allocations: 175.6 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.007213, allocations: 7.984 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.007387, allocations: 127.7 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.007701, allocations: 235.6 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.007725, allocations: 4 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.007802, allocations: 24 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.007939, allocations: 87.7 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.008006, allocations: 39.73 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.008366, allocations: 235 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.00837, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.008372, allocations: 4 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.008378, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.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.0009044/0.009282, allocations: 0.5699 MB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.009322, allocations: 12.03 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.009408, allocations: 44.66 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.009742, allocations: 250 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.009757, allocations: 4.375 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.00977, allocations: 4.375 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.009976, allocations: 58.17 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.009985, allocations: 192 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.009996, allocations: 384 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01, allocations: 4.375 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01015, allocations: 39.91 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.01073, allocations: 336.5 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.01088, allocations: 38.56 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.01096, allocations: 24.88 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01098, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.01102, allocations: 34.56 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.01102, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004046/0.01143, allocations: 137.3 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.01148, allocations: 55.41 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.01254, allocations: 0.8614 MB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.01257, allocations: 25.7 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.01279, allocations: 220 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.01281, allocations: 11.89 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.01286, allocations: 17.72 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.01309, allocations: 362.7 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.01317, allocations: 19.98 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.01323, allocations: 15.98 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01337, allocations: 48.83 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01337, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004988/0.01387, allocations: 117.3 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01389, allocations: 7.938 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.0139, allocations: 0 / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01391, allocations: 4 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.014, allocations: 11.92 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01401, allocations: 0 / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.01406, allocations: 8 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01407, allocations: 4 kB / 384.5 MB, free: 11.38 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.0002238/0.0143, allocations: 209.8 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.01437, allocations: 47.72 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.01468, allocations: 125 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01468, allocations: 0 / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01469, allocations: 0 / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01469, allocations: 0 / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.015, allocations: 241.2 kB / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.01501, allocations: 3.984 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.01506, allocations: 8 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01506, allocations: 0 / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01507, allocations: 4 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.01508, allocations: 11.88 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01509, allocations: 0 / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.01539, allocations: 203.2 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.01544, allocations: 39.7 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01547, allocations: 0 / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01557, allocations: 11.94 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.01559, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.01559, allocations: 3.984 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007734/0.01637, allocations: 0.655 MB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01637, allocations: 0 / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01665, allocations: 23.88 kB / 386.1 MB, free: 9.746 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.001724/0.01837, allocations: 371.9 kB / 386.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.01859, allocations: 43.89 kB / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01859, allocations: 0 / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.01867, allocations: 23.98 kB / 386.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.01909, allocations: 35.91 kB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.02042, allocations: 0.8211 MB / 387.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.0207, allocations: 220.1 kB / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.02076, allocations: 15.97 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.02081, allocations: 12.5 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02081, allocations: 0 / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of Templates: time 0.004894/0.0257, allocations: 1.185 MB / 388.8 MB, free: 7.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.892237601918168]