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.001357/0.001357, 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.001104/0.001104, 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.016/1.016, allocations: 177 MB / 204.8 MB, free: 5.574 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.2822/0.2822, allocations: 34.85 MB / 296.3 MB, free: 0.5664 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 2.325e-06/2.325e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.315e-05, allocations: 3.578 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002405/0.002438, allocations: 1.653 MB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.003251, allocations: 0.5679 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.003316, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.003783, allocations: 447.1 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.004172, allocations: 299.1 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.004507, allocations: 171.5 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.00472, allocations: 167.6 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.00482, allocations: 15.86 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004951, allocations: 123.7 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.005152, allocations: 239.6 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.005175, allocations: 0 / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.005252, allocations: 27.94 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.005345, allocations: 83.7 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.005392, allocations: 39.73 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005617, allocations: 191.1 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005621, allocations: 0 / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005622, allocations: 0 / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.005628, allocations: 0 / 382.8 MB, free: 14.09 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.0005326/0.00616, allocations: 0.6894 MB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.006198, allocations: 8.031 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.006254, allocations: 44.66 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.006446, allocations: 248.8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.006456, allocations: 384 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.006467, allocations: 4.375 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006577, allocations: 54.95 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006587, allocations: 4.125 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006597, allocations: 4.375 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.006605, allocations: 384 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.00663, allocations: 7.938 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.007043, allocations: 423.8 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.813e-05/0.007101, allocations: 27.06 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.007124, allocations: 15.62 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.007147, allocations: 4.062 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.007168, allocations: 41.31 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.007169, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.007331, allocations: 81.42 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.007358, allocations: 51.41 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.007768, allocations: 0.6395 MB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.007779, allocations: 29.7 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.00792, allocations: 282.7 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.007941, allocations: 7.953 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.007969, allocations: 15.38 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.008128, allocations: 0.5625 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.008143, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.008153, allocations: 4 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.008183, allocations: 11.69 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008185, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.93e-05/0.008264, allocations: 89.45 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.008279, allocations: 11.94 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008283, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.0083, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.008357, allocations: 4 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.008363, allocations: 3.938 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.008384, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.008389, 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 7.047e-05/0.008459, allocations: 160.6 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.008493, allocations: 47.66 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.008608, allocations: 76.78 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008611, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008614, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008617, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.008818, allocations: 280.5 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.00882, allocations: 0 / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.008841, allocations: 7.984 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008843, allocations: 0 / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008851, allocations: 7.938 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008853, allocations: 0 / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.008855, allocations: 8.031 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.008972, allocations: 231.6 kB / 386.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.008996, allocations: 31.72 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.009011, allocations: 3.938 kB / 386.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.009044, allocations: 4 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.009058, allocations: 0 / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.00906, allocations: 0 / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.009306, allocations: 430.8 kB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009306, allocations: 3.938 kB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.00947, allocations: 19.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.0008299/0.0103, allocations: 317.1 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.01039, allocations: 27.61 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01039, allocations: 0 / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.0104, allocations: 11.69 kB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01065, allocations: 25.91 kB / 387.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.01125, allocations: 0.5652 MB / 388.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.01132, allocations: 119.2 kB / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.01135, allocations: 15.97 kB / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.01137, allocations: 12.5 kB / 388.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01137, allocations: 0 / 388.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of Templates: time 0.003642/0.01501, allocations: 1.156 MB / 389.6 MB, free: 6.965 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.379439828917384]