Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001035/0.001035, allocations: 91.5 kB / 21.19 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.001093/0.001093, allocations: 156.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.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.199 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.3145/0.3145, allocations: 34.87 MB / 296.3 MB, free: 444 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.255e-05, allocations: 3.156 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.005798/0.005831, allocations: 1.625 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.006734, allocations: 0.5525 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.00679, allocations: 3.938 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.006998, allocations: 19.84 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.007279, allocations: 83.56 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.01056, allocations: 111.6 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.01073, allocations: 67.72 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.01084, allocations: 19.83 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.0109, allocations: 31.92 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.01096, allocations: 15.92 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.01098, allocations: 4 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.01106, allocations: 35.97 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.01111, allocations: 11.94 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.01114, allocations: 4 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.01132, allocations: 83.66 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01132, allocations: 3.938 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01132, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.01133, allocations: 3.938 kB / 381.5 MB, free: 15.35 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.0004545/0.01178, allocations: 408.2 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01182, allocations: 12.03 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.01187, allocations: 20.88 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.01201, allocations: 136.5 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.01202, allocations: 384 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.01205, allocations: 384 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.01217, allocations: 54.95 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01218, allocations: 192 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.01219, allocations: 4.375 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.0122, allocations: 4.312 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.01223, allocations: 11.92 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.01286, allocations: 275.8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.01304, allocations: 43.05 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.01307, allocations: 15.62 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01309, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.01311, allocations: 37.39 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.01312, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.002394/0.01551, allocations: 113.4 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.01554, allocations: 51.41 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.01566, allocations: 205.8 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.01567, allocations: 29.7 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.01572, allocations: 146.9 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.01575, allocations: 11.91 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.01578, allocations: 27.36 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01589, allocations: 0.4922 MB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.01591, allocations: 3.984 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.01593, allocations: 12 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.01596, allocations: 19.69 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01596, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.745e-05/0.01604, allocations: 69.47 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01605, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01606, allocations: 8 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01607, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.01612, allocations: 12.23 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01613, allocations: 0 / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.01615, allocations: 12 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.01615, allocations: 0 / 383.7 MB, free: 12.93 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 5.831e-05/0.01621, allocations: 152.6 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.01623, allocations: 15.89 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.01636, allocations: 70.08 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01636, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.01637, allocations: 8 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01637, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.01662, allocations: 321.4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01662, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.01666, allocations: 15.92 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01666, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.01667, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01667, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01667, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.01678, allocations: 212.1 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.01679, allocations: 7.953 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.0168, allocations: 4 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.01683, allocations: 7.984 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.01687, allocations: 7.984 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.01687, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.192e-05/0.01693, allocations: 154.9 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01693, allocations: 0 / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.01709, allocations: 23.88 kB / 384.6 MB, free: 11.88 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.0008083/0.0179, allocations: 374.1 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.018, allocations: 35.67 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.018, allocations: 0 / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.01802, allocations: 19.69 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01825, allocations: 19.92 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.01859, allocations: 190.5 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01865, allocations: 67.33 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01869, allocations: 15.97 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.01871, allocations: 12.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01872, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003064/0.02178, allocations: 1.177 MB / 386.5 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.4543693480081856]