Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 109 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.001794/0.001794, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.2108/0.2108, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3403, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003343/0.3436, allocations: 1.726 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3454, allocations: 1.021 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.3455, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3458, allocations: 44.14 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3461, allocations: 92.47 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3464, allocations: 82.91 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3466, allocations: 100.9 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3467, allocations: 14.88 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.3468, allocations: 48.27 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.3469, allocations: 33.36 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3469, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3471, allocations: 40.02 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3471, allocations: 23.12 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3472, allocations: 31.44 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3474, allocations: 125.7 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3474, allocations: 4.844 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3474, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3474, allocations: 0 / 0.535 GB, free: 11.05 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.0005809/0.348, allocations: 419.5 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.348, allocations: 8.906 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.3481, allocations: 9.906 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3484, allocations: 213.3 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3484, allocations: 5.656 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3484, allocations: 6.75 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3486, allocations: 57.52 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3487, allocations: 5.219 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3487, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3487, allocations: 1.281 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.3488, allocations: 26.12 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.3491, allocations: 287.1 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3493, allocations: 66.02 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3494, allocations: 16.95 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3494, allocations: 1.094 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3496, allocations: 77.09 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3496, allocations: 1.094 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.3502, allocations: 169.4 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3502, allocations: 52.56 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.3504, allocations: 196.5 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3504, allocations: 26.61 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.3505, allocations: 102.2 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.3506, allocations: 30.75 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.3507, allocations: 24.28 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3508, allocations: 327 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3508, allocations: 26.73 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.3509, allocations: 35.58 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.351, allocations: 62.55 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.351, allocations: 1.375 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.3512, allocations: 103.1 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3513, allocations: 4.906 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3513, allocations: 5.094 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3513, allocations: 1.25 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.3514, allocations: 20.55 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3514, allocations: 1.469 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.3515, allocations: 5.25 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3515, allocations: 8.094 kB / 0.5373 GB, free: 8.887 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 9.307e-05/0.3516, allocations: 123 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3516, allocations: 8.469 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3517, allocations: 14.59 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3517, allocations: 5.188 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3517, allocations: 1.219 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3517, allocations: 7.922 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.3522, allocations: 394 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3522, allocations: 1.344 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3522, allocations: 10.66 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3522, allocations: 1.406 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3523, allocations: 14.64 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3523, allocations: 4.031 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3523, allocations: 5.125 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3525, allocations: 192.8 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.3526, allocations: 88.23 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3526, allocations: 10 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.3527, allocations: 6.125 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3527, allocations: 10.42 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3528, allocations: 7.719 kB / 0.5382 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3529, allocations: 152.9 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3529, allocations: 0 / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3532, allocations: 25.06 kB / 0.5384 GB, free: 7.922 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.00107/0.3543, allocations: 465.1 kB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3545, allocations: 57.72 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3545, allocations: 0 / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.3546, allocations: 34.56 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.355, allocations: 27.94 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.3554, allocations: 263 kB / 0.5392 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3557, allocations: 0.7019 MB / 0.5399 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.3558, allocations: 23.67 kB / 0.5399 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3558, allocations: 0 / 0.5399 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Templates: time 0.004022/0.3598, allocations: 1.955 MB / 0.5418 GB, free: 5.688 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches