Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001345/0.001345, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001674/0.001674, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.423/1.423, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 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.2397/0.2397, allocations: 46.92 MB / 361.5 MB, free: 4.172 MB / 286.1 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.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 79.86 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4172, allocations: 66.08 MB / 0.562 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003205/0.4204, allocations: 1.624 MB / 0.5636 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.4225, allocations: 1.259 MB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.4226, allocations: 0 / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.4228, allocations: 19.86 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.4231, allocations: 87.61 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.4234, allocations: 102.8 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.4236, allocations: 67.72 kB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4237, allocations: 11.98 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.4238, allocations: 27.91 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.424, allocations: 31.86 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.424, allocations: 4 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.4242, allocations: 99.86 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.4242, allocations: 19.92 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.4243, allocations: 19.86 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.4246, allocations: 137.9 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4246, allocations: 12 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4246, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4246, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 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.0006422/0.4252, allocations: 325.7 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4253, allocations: 8.031 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.4253, allocations: 8.891 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4256, allocations: 138.4 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4256, allocations: 4.375 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.4256, allocations: 384 / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4258, allocations: 71.95 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4258, allocations: 4.188 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4258, allocations: 3.938 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4258, allocations: 0 / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.4259, allocations: 23.92 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.4264, allocations: 248 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.4266, allocations: 46.5 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.4267, allocations: 12.86 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.4267, allocations: 4 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.4267, allocations: 38.58 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4267, allocations: 0 / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005959/0.4273, allocations: 141.4 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.4274, allocations: 77.11 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.4277, allocations: 144 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.4277, allocations: 29.7 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.4278, allocations: 92.12 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.4278, allocations: 23.8 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.4278, allocations: 25.7 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.4281, allocations: 318.8 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.4282, allocations: 15.98 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.4282, allocations: 33.7 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4284, allocations: 44.83 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4284, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/0.4286, allocations: 89.58 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4286, allocations: 7.938 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.4286, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4286, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.4287, allocations: 16 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4287, allocations: 0 / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.4287, allocations: 7.984 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4287, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0001306/0.4289, allocations: 127 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.4289, allocations: 7.953 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.4292, allocations: 90.31 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4292, allocations: 8.266 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4292, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4292, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.4297, allocations: 325.6 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4297, allocations: 3.984 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.4297, allocations: 19.98 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4297, allocations: 0 / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4297, allocations: 0 / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4297, allocations: 3.938 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4297, allocations: 3.938 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.43, allocations: 179.5 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.43, allocations: 7.938 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.43, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.4301, allocations: 4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4301, allocations: 15.92 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4301, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4302, allocations: 113.6 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4302, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.4305, allocations: 39.86 kB / 0.5682 GB, free: 13.51 MB / 414.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 (5): * Single equations (assignments): 5 * 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.001839/0.4324, allocations: 498.3 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4326, allocations: 51.91 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4326, allocations: 0 / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.4327, allocations: 23.98 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.433, allocations: 19.36 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.4335, allocations: 207.1 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.434, allocations: 0.6885 MB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.434, allocations: 15.44 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.434, allocations: 0 / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.00444/0.4384, allocations: 1.939 MB / 0.5716 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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: 8.059002469992265]