Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0009554/0.0009554, allocations: 91.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.001186/0.001186, 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 0.9786/0.9786, allocations: 177 MB / 204.8 MB, free: 5.602 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.3023/0.3023, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.179e-05/4.39e-05, allocations: 7.516 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004291/0.004335, allocations: 1.649 MB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.005542, allocations: 0.5563 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.005629, allocations: 4 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.006294, allocations: 459.1 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.00688, allocations: 295.1 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.007364, allocations: 171.5 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.007673, allocations: 171.6 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.007789, allocations: 11.86 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.007952, allocations: 119.7 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.008241, allocations: 239.6 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.008265, allocations: 4 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.008362, allocations: 27.92 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.008472, allocations: 79.72 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.008529, allocations: 43.72 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.008845, allocations: 183.2 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.008853, allocations: 0 / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.008855, allocations: 3.938 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.008862, allocations: 0 / 382.8 MB, free: 14.1 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.0007693/0.009631, allocations: 0.6893 MB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.009668, allocations: 12.03 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.009739, allocations: 44.66 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.00996, allocations: 244.9 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.009968, allocations: 8.375 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-06/0.009973, allocations: 384 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.01008, allocations: 58.94 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-06/0.01008, allocations: 192 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.01009, allocations: 384 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.01009, allocations: 384 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.01013, allocations: 11.88 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.01061, allocations: 415.8 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.01066, allocations: 35.06 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.01068, allocations: 15.75 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.0107, allocations: 3.938 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.01072, allocations: 37.33 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.01072, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.01089, allocations: 89.39 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.01093, allocations: 51.41 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.01148, allocations: 0.6315 MB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01149, allocations: 25.7 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.01169, allocations: 294.9 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.01171, allocations: 3.953 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.01173, allocations: 19.38 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003919/0.01213, allocations: 0.547 MB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.01214, allocations: 11.98 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.01215, allocations: 3.938 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.01218, allocations: 11.69 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01218, allocations: 0 / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.333e-05/0.01227, allocations: 81.42 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01228, allocations: 12.03 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01229, allocations: 3.984 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-06/0.01229, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.01234, allocations: 4 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01234, allocations: 3.938 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.01237, allocations: 4 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.01237, allocations: 0 / 386.1 MB, free: 10.54 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.456e-05/0.01245, allocations: 156.5 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.0125, allocations: 47.66 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.0126, allocations: 80.73 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.01261, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01261, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01261, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.01287, allocations: 284.5 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01287, allocations: 0 / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.01289, allocations: 8 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.0129, allocations: 3.984 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.0129, allocations: 3.938 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.0129, allocations: 0 / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0129, allocations: 0 / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01304, allocations: 231.6 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.01307, allocations: 39.7 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01309, allocations: 3.938 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.01314, allocations: 0 / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-06/0.01315, allocations: 0 / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.01315, allocations: 4 kB / 386.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003379/0.01349, allocations: 426.8 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01349, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01373, allocations: 23.94 kB / 387.4 MB, free: 9.18 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.0008897/0.01462, allocations: 325.5 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.01468, allocations: 15.62 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01468, allocations: 0 / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.0147, allocations: 19.67 kB / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01498, allocations: 21.92 kB / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.01569, allocations: 0.5652 MB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.01578, allocations: 126 kB / 388.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.01582, allocations: 15.98 kB / 388.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.01586, allocations: 20.48 kB / 388.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01586, allocations: 0 / 388.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of Templates: time 0.004182/0.02004, allocations: 1.219 MB / 389.7 MB, free: 6.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.1934141661040485]