Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001329/0.001329, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001385/0.001385, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.25 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.2399/0.2399, allocations: 46.88 MB / 361.3 MB, free: 4.449 MB / 286.1 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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.81 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3307, allocations: 66.03 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003197/0.3339, allocations: 1.739 MB / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3358, allocations: 1.057 MB / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.3359, allocations: 0 / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.3362, allocations: 43.7 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.3365, allocations: 95.55 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3367, allocations: 79.72 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3369, allocations: 107.7 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.337, allocations: 7.984 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3371, allocations: 51.72 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.3372, allocations: 31.86 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3372, allocations: 4 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3373, allocations: 47.91 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.3374, allocations: 19.92 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.3375, allocations: 35.75 kB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3377, allocations: 130 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3377, allocations: 3.938 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3377, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3377, allocations: 0 / 0.565 GB, free: 1.141 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005929/0.3383, allocations: 357.5 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3383, allocations: 8.031 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3384, allocations: 8.891 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3387, allocations: 166.2 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3387, allocations: 4.375 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3387, allocations: 384 / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3389, allocations: 65.98 kB / 0.5655 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3389, allocations: 0 / 0.5655 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3389, allocations: 4 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3389, allocations: 0 / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.339, allocations: 19.98 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3394, allocations: 267.8 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3396, allocations: 54.67 kB / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.3396, allocations: 24.84 kB / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3397, allocations: 0 / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3398, allocations: 67.33 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3398, allocations: 0 / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005565/0.3404, allocations: 181.3 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3404, allocations: 55.34 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3407, allocations: 218.7 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3407, allocations: 25.7 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3408, allocations: 108.1 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3408, allocations: 23.84 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.3408, allocations: 21.72 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.341, allocations: 330.8 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.341, allocations: 19.98 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.3411, allocations: 33.7 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3412, allocations: 61.66 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3412, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3414, allocations: 105.6 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3414, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3414, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3415, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.3416, allocations: 20.11 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.3416, allocations: 4.031 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.3416, allocations: 11.94 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3416, allocations: 4 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001342/0.3418, allocations: 131.1 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3418, allocations: 15.91 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.3421, allocations: 123 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3421, allocations: 0 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3421, allocations: 384 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3421, allocations: 4 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.3426, allocations: 374.3 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3426, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.3426, allocations: 15.98 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3426, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3426, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3426, allocations: 7.938 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3426, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3429, allocations: 204.3 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3429, allocations: 11.89 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3429, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.343, allocations: 11.92 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.343, allocations: 7.984 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3431, allocations: 7.984 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3433, allocations: 160.3 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3433, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3435, allocations: 20 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001652/0.3452, allocations: 448.8 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3454, allocations: 67.89 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3454, allocations: 4 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.3455, allocations: 19.98 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3458, allocations: 39.78 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.3464, allocations: 242.6 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3468, allocations: 0.7042 MB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.3468, allocations: 16.97 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3469, allocations: 19.44 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3469, allocations: 0 / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.005295/0.3522, allocations: 1.776 MB / 0.5714 GB, free: 10.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.198692840524018]