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.001211/0.001211, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001219/0.001219, allocations: 160.5 kB / 24.55 MB, free: 16 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.011/1.011, allocations: 177 MB / 204.8 MB, free: 5.586 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.266/0.266, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.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.026e-06/3.026e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.617e-05/4.919e-05, allocations: 2.312 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002829/0.002878, allocations: 1.657 MB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.003875, allocations: 0.5486 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.003943, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.004357, allocations: 455.1 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.004762, allocations: 303 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.005116, allocations: 167.5 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.005371, allocations: 171.6 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.005446, allocations: 11.86 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.005562, allocations: 127.7 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.005743, allocations: 231.6 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.005757, allocations: 4 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.005821, allocations: 23.94 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.005897, allocations: 95.69 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.005929, allocations: 35.75 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.006123, allocations: 195.1 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.006127, allocations: 0 / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006128, allocations: 0 / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006133, allocations: 0 / 382.8 MB, free: 14.08 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.0005145/0.006647, allocations: 0.6776 MB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.00669, allocations: 12.03 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.006756, allocations: 52.66 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.006967, allocations: 244.8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.006977, allocations: 4.375 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.006987, allocations: 4.375 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.007101, allocations: 54.95 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.007108, allocations: 4.125 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.007119, allocations: 384 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.007126, allocations: 4.375 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.00716, allocations: 7.938 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.007603, allocations: 411.8 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.007658, allocations: 35.06 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.007685, allocations: 15.62 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.007704, allocations: 4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.007732, allocations: 41.39 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.007733, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000201/0.007934, allocations: 81.41 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.007968, allocations: 55.41 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.00851, allocations: 0.6276 MB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.008522, allocations: 25.7 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.008719, allocations: 294.7 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.008738, allocations: 7.953 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.008771, allocations: 15.38 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.008959, allocations: 0.5587 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.008973, allocations: 8 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-06/0.008983, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.009012, allocations: 15.69 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009013, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.018e-05/0.009104, allocations: 81.41 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.009119, allocations: 7.938 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009124, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009137, allocations: 4 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.009199, allocations: 8.094 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.009204, allocations: 3.938 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.009234, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.00924, allocations: 0 / 386.1 MB, free: 10.53 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 (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 8.89e-05/0.009329, allocations: 156.6 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.009377, allocations: 47.64 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.009496, allocations: 72.75 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009498, allocations: 4 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.009502, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.009505, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.009766, allocations: 280.6 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.009767, allocations: 0 / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.009785, allocations: 7.984 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009788, allocations: 0 / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.009796, allocations: 7.938 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009798, allocations: 4 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.0098, allocations: 3.984 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.009929, allocations: 231.6 kB / 386.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.009957, allocations: 31.72 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.009982, allocations: 3.938 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.01004, allocations: 4.031 kB / 386.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.01005, allocations: 4 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.01006, allocations: 0 / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003198/0.01038, allocations: 426.8 kB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01038, allocations: 3.938 kB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.01063, allocations: 23.94 kB / 387.4 MB, free: 9.172 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 (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.0009297/0.01156, allocations: 321.5 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.519e-05/0.01164, allocations: 27.61 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01164, allocations: 0 / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.01166, allocations: 15.69 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01198, allocations: 25.91 kB / 387.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.01279, allocations: 0.5613 MB / 388.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.01287, allocations: 119.2 kB / 388.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01291, allocations: 11.97 kB / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.01294, allocations: 16.5 kB / 388.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01294, allocations: 0 / 388.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of Templates: time 0.004118/0.01705, allocations: 1.225 MB / 389.7 MB, free: 6.898 MB / 362.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.042254075873643]