Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 109.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 207.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3321, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003195/0.3353, allocations: 1.727 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3371, allocations: 1.023 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.3372, allocations: 1.281 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3375, allocations: 43.58 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3378, allocations: 95.73 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3381, allocations: 80.22 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3382, allocations: 103.9 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3384, allocations: 11.67 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.3385, allocations: 43.31 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.3385, allocations: 34.8 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3386, allocations: 7.375 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3387, allocations: 44.38 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.3388, allocations: 22.8 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.3388, allocations: 31.84 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.339, allocations: 115.7 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.339, allocations: 0 / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3391, allocations: 1.219 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3391, allocations: 0 / 0.535 GB, free: 11.29 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.0005714/0.3396, allocations: 420.2 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3397, allocations: 10.47 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3398, allocations: 17.8 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3401, allocations: 216.8 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3401, allocations: 1.5 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3401, allocations: 10.45 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3403, allocations: 54.2 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3403, allocations: 3.906 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3403, allocations: 1.25 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3403, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.3404, allocations: 22.73 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3408, allocations: 294.7 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.341, allocations: 54.67 kB / 0.5361 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.3411, allocations: 16.95 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3411, allocations: 5.312 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.3413, allocations: 69.14 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3413, allocations: 3.938 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.3418, allocations: 178.2 kB / 0.5363 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3419, allocations: 52.34 kB / 0.5364 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3421, allocations: 193 kB / 0.5366 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3421, allocations: 30.92 kB / 0.5366 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.3422, allocations: 105.5 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3422, allocations: 27.64 kB / 0.5367 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.3423, allocations: 20.53 kB / 0.5368 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3425, allocations: 329.8 kB / 0.5371 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.3425, allocations: 18.92 kB / 0.5371 GB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.3426, allocations: 36.33 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3428, allocations: 66.41 kB / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3428, allocations: 0 / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.343, allocations: 107.3 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.343, allocations: 5.594 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.343, allocations: 1.406 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3431, allocations: 1.125 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3432, allocations: 20.33 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3432, allocations: 9.969 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.3433, allocations: 5.062 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3433, allocations: 7.375 kB / 0.5373 GB, free: 9.109 MB / 398.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.0001167/0.3434, allocations: 126.5 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3434, allocations: 10.31 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.3435, allocations: 14.66 kB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3435, allocations: 1.094 kB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3435, allocations: 0 / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3435, allocations: 3.938 kB / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.3441, allocations: 399.2 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3441, allocations: 0 / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3441, allocations: 12.03 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3441, allocations: 1.406 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3442, allocations: 5.375 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3442, allocations: 1.062 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3442, allocations: 0 / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3444, allocations: 209.3 kB / 0.5381 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.3445, allocations: 87.42 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3445, allocations: 6.938 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.3446, allocations: 5.219 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3446, allocations: 19.72 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3447, allocations: 2.688 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3448, allocations: 153 kB / 0.5384 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3448, allocations: 0 / 0.5384 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3451, allocations: 25.41 kB / 0.5384 GB, free: 8.145 MB / 398.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.001075/0.3462, allocations: 453.4 kB / 0.5388 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3464, allocations: 62.66 kB / 0.5389 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3464, allocations: 4.062 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.3465, allocations: 25.42 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3469, allocations: 39.58 kB / 0.5389 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.3474, allocations: 259 kB / 0.5392 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3477, allocations: 0.7017 MB / 0.5399 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.3478, allocations: 23.45 kB / 0.5399 GB, free: 6.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3478, allocations: 1.219 kB / 0.5399 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.004607/0.3524, allocations: 1.956 MB / 0.5418 GB, free: 5.914 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches