Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001419/0.001419, allocations: 89.3 kB / 20.68 MB, free: 1.02 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.001838/0.001838, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.544/1.544, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.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.2575/0.2575, allocations: 34.26 MB / 294.8 MB, free: 14.51 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.486e-05, allocations: 2.281 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002909/0.002934, allocations: 1.594 MB / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004818, allocations: 1.23 MB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.004876, allocations: 0 / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.005085, allocations: 27.77 kB / 445.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.005393, allocations: 83.52 kB / 445.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.005667, allocations: 103.4 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.005828, allocations: 75.75 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.00592, allocations: 11.84 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.005997, allocations: 39.84 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.006121, allocations: 23.91 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.006143, allocations: 4 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.006319, allocations: 95.81 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.006372, allocations: 15.92 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.006402, allocations: 8 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.006661, allocations: 143.5 kB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006664, allocations: 4 kB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006666, allocations: 0 / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.006672, allocations: 0 / 446.1 MB, free: 1.805 MB / 366.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.0005336/0.007206, allocations: 325.7 kB / 446.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.007245, allocations: 12.03 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.007287, allocations: 8.891 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.007526, allocations: 133.6 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.007531, allocations: 384 / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.00756, allocations: 12.31 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.007745, allocations: 85.66 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.007759, allocations: 8.141 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007769, allocations: 384 / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.007774, allocations: 4.375 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.007877, allocations: 31.86 kB / 446.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.00824, allocations: 212.6 kB / 446.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.00845, allocations: 38.56 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.008517, allocations: 20.94 kB / 447 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.008541, allocations: 0 / 447 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.008584, allocations: 38.5 kB / 447 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.008585, allocations: 4 kB / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005986/0.009183, allocations: 141.4 kB / 447.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.009258, allocations: 81.11 kB / 447.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.009436, allocations: 145.8 kB / 447.4 MB, free: 376 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.009471, allocations: 25.7 kB / 447.4 MB, free: 344 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.009542, allocations: 100.1 kB / 447.5 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.00957, allocations: 15.86 kB / 447.5 MB, free: 224 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.00961, allocations: 21.72 kB / 447.6 MB, free: 196 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2231/0.2327, allocations: 318.8 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2328, allocations: 16.36 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.2329, allocations: 55.08 kB / 447.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2331, allocations: 46.38 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2331, allocations: 3.656 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002163/0.2333, allocations: 84.44 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2333, allocations: 9.656 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2333, allocations: 0 / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2333, allocations: 1.766 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.2334, allocations: 12.06 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2334, allocations: 0 / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.2335, allocations: 10.33 kB / 448.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2335, allocations: 2.688 kB / 448.1 MB, free: 18.85 MB / 366.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 6.724e-05/0.2336, allocations: 119.2 kB / 448.2 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.2336, allocations: 6.844 kB / 448.2 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2338, allocations: 89.88 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2338, allocations: 4.234 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2338, allocations: 5.406 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2338, allocations: 4.812 kB / 448.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.2342, allocations: 291.9 kB / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2342, allocations: 0 / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.2342, allocations: 12.53 kB / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2343, allocations: 1.094 kB / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2343, allocations: 6.438 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2343, allocations: 0.5156 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2343, allocations: 3.156 kB / 448.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2345, allocations: 178.2 kB / 448.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.2345, allocations: 8.734 kB / 448.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2345, allocations: 5.125 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.2346, allocations: 6.547 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.2346, allocations: 9.672 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2346, allocations: 1.156 kB / 448.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.2347, allocations: 114.6 kB / 449 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2347, allocations: 0 / 449 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.235, allocations: 38.84 kB / 449 MB, free: 18.26 MB / 366.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.001718/0.2367, allocations: 0.524 MB / 449.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.2369, allocations: 43.42 kB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2369, allocations: 1.281 kB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.2369, allocations: 32.3 kB / 449.6 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2373, allocations: 13.58 kB / 449.6 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.2376, allocations: 173.7 kB / 449.8 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.2377, allocations: 74.11 kB / 449.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.2377, allocations: 16.89 kB / 449.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2378, allocations: 21.41 kB / 449.9 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2378, allocations: 0 / 449.9 MB, free: 17.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005034/0.2428, allocations: 1.803 MB / 451.7 MB, free: 17.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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: 5.074057020246983]