Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009515/0.0009515, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001053/0.001053, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 0.9749/0.9749, allocations: 177 MB / 205.2 MB, free: 5.551 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.268/0.268, allocations: 34.86 MB / 296.6 MB, free: 496 kB / 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.87e-05, allocations: 4.141 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002553/0.002582, allocations: 1.615 MB / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.003359, allocations: 0.5563 MB / 380.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.003435, allocations: 0 / 380.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.003706, allocations: 27.83 kB / 381 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.003963, allocations: 79.56 kB / 381.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.004202, allocations: 111.6 kB / 381.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.004353, allocations: 79.7 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004477, allocations: 11.86 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.004543, allocations: 31.91 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.004605, allocations: 15.98 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.004621, allocations: 0 / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.004698, allocations: 27.98 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.004752, allocations: 19.92 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.004784, allocations: 15.92 kB / 381.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004933, allocations: 75.62 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004935, allocations: 3.938 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004936, allocations: 4 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004941, allocations: 0 / 381.4 MB, free: 15.7 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.0004293/0.00537, allocations: 420.1 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.005422, allocations: 8.031 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.005469, allocations: 12.89 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005618, allocations: 141 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.005627, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.005648, allocations: 4.375 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005767, allocations: 58.89 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005778, allocations: 192 / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.005787, allocations: 4.125 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005795, allocations: 4 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.005827, allocations: 11.98 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.006151, allocations: 283.7 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.006328, allocations: 42.98 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.006354, allocations: 15.69 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.006383, allocations: 3.938 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.006405, allocations: 33.39 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.006407, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003652/0.006772, allocations: 93.56 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.00681, allocations: 59.41 kB / 382.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.006955, allocations: 211.3 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.006968, allocations: 25.7 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.007034, allocations: 150.8 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.007058, allocations: 23.78 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.007095, allocations: 27.36 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.007233, allocations: 0.4884 MB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.007252, allocations: 7.984 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.007267, allocations: 4 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.007313, allocations: 27.62 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007313, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.444e-05/0.007408, allocations: 65.58 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.007422, allocations: 8 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007427, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.007442, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.454e-05/0.007486, allocations: 12.23 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007492, allocations: 0 / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.007512, allocations: 8 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.007517, allocations: 0 / 383.7 MB, free: 13.27 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 (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 7.274e-05/0.007589, allocations: 160.6 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.007609, allocations: 19.84 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.007721, allocations: 74.08 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007723, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.007726, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.007731, allocations: 3.984 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.007959, allocations: 325.3 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00796, allocations: 0 / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007986, allocations: 11.98 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007988, allocations: 4 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007994, allocations: 0 / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007995, allocations: 0 / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007996, allocations: 4 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/0.008094, allocations: 212.1 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.0081, allocations: 3.953 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.008111, allocations: 0 / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.008146, allocations: 15.97 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.008172, allocations: 0 / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.008176, allocations: 4 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.795e-05/0.008244, allocations: 165.5 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008244, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000158/0.008402, allocations: 11.94 kB / 384.7 MB, free: 12.2 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 (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.0007449/0.009146, allocations: 376.2 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.009232, allocations: 27.67 kB / 385.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009233, allocations: 0 / 385.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.009261, allocations: 27.62 kB / 385.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.009456, allocations: 23.92 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.009743, allocations: 186.3 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.00978, allocations: 63.34 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.009813, allocations: 15.97 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.009836, allocations: 12.5 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009837, allocations: 0 / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.002724/0.01256, allocations: 1.182 MB / 386.6 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.1101950840093195]