Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009606/0.0009606, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3291, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00378/0.3329, allocations: 2.366 MB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3354, allocations: 1.385 MB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.3356, allocations: 8.531 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.3361, allocations: 292.4 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006386/0.3368, allocations: 333.8 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.3372, allocations: 217 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.3379, allocations: 0.5541 MB / 0.5367 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3381, allocations: 61.59 kB / 0.5368 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.3384, allocations: 246.5 kB / 0.537 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.3387, allocations: 272.5 kB / 0.5373 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.3389, allocations: 18.66 kB / 0.5373 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.339, allocations: 54.64 kB / 0.5374 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3392, allocations: 110.1 kB / 0.5375 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3393, allocations: 187 kB / 0.5376 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.3398, allocations: 421.3 kB / 0.538 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3398, allocations: 1.969 kB / 0.5381 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3398, allocations: 7.984 kB / 0.5381 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3398, allocations: 0 / 0.5381 GB, free: 8.938 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001193/0.341, allocations: 0.7897 MB / 0.5388 GB, free: 8.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3411, allocations: 9.344 kB / 0.5388 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.3412, allocations: 61.47 kB / 0.5389 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.3418, allocations: 438.3 kB / 0.5393 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3419, allocations: 10.72 kB / 0.5393 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.3419, allocations: 17.44 kB / 0.5393 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3423, allocations: 200 kB / 0.5395 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3424, allocations: 5.094 kB / 0.5395 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.3424, allocations: 5.062 kB / 0.5395 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3424, allocations: 8.203 kB / 0.5396 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3427, allocations: 100 kB / 0.5396 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.3436, allocations: 0.8657 MB / 0.5405 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3442, allocations: 292.2 kB / 0.5408 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3445, allocations: 98.41 kB / 0.5409 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3445, allocations: 4.469 kB / 0.5409 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.3449, allocations: 222 kB / 0.5411 GB, free: 6.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.3449, allocations: 0 / 0.5411 GB, free: 6.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002072/0.347, allocations: 1.007 MB / 0.5421 GB, free: 5.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.3471, allocations: 167.1 kB / 0.5422 GB, free: 5.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/0.3479, allocations: 0.6604 MB / 0.5429 GB, free: 5.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.348, allocations: 38.14 kB / 0.5429 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3481, allocations: 235 kB / 0.5431 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3482, allocations: 124.5 kB / 0.5432 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3484, allocations: 66.83 kB / 0.5433 GB, free: 4.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3486, allocations: 376 kB / 0.5437 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3488, allocations: 102.6 kB / 0.5438 GB, free: 4.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.3491, allocations: 182.9 kB / 0.5439 GB, free: 4.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.3496, allocations: 298.5 kB / 0.5442 GB, free: 4.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3496, allocations: 0 / 0.5442 GB, free: 4.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008179/0.3505, allocations: 415.5 kB / 0.5446 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3505, allocations: 5.188 kB / 0.5446 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3505, allocations: 2.5 kB / 0.5446 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.3505, allocations: 4 kB / 0.5446 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.3509, allocations: 88.8 kB / 0.5447 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.3509, allocations: 4.719 kB / 0.5447 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3512, allocations: 17.27 kB / 0.5447 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3512, allocations: 17.34 kB / 0.5448 GB, free: 3.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000267/0.3515, allocations: 215.5 kB / 0.545 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3516, allocations: 64.09 kB / 0.545 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.3518, allocations: 71.2 kB / 0.5451 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3518, allocations: 5.656 kB / 0.5451 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.3518, allocations: 2.312 kB / 0.5451 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3518, allocations: 1 kB / 0.5451 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3535, allocations: 1.277 MB / 0.5463 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.3535, allocations: 4 kB / 0.5463 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3536, allocations: 47.92 kB / 0.5464 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/0.3536, allocations: 4.156 kB / 0.5464 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.3537, allocations: 24.67 kB / 0.5464 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3537, allocations: 7.938 kB / 0.5464 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3537, allocations: 4 kB / 0.5464 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.3546, allocations: 0.8283 MB / 0.5472 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.3547, allocations: 124.5 kB / 0.5474 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.3548, allocations: 15.94 kB / 0.5474 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3551, allocations: 27.97 kB / 0.5474 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.3552, allocations: 31.97 kB / 0.5474 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.3553, allocations: 19.98 kB / 0.5475 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004884/0.3558, allocations: 486.8 kB / 0.5479 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 0 / 0.5479 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.3564, allocations: 87.98 kB / 0.548 GB, free: 484 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001157/0.3576, allocations: 476.7 kB / 0.5485 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.3583, allocations: 299.8 kB / 0.5487 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3583, allocations: 0 / 0.5487 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.3586, allocations: 147.8 kB / 0.5489 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3598, allocations: 152.9 kB / 0.549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3612, allocations: 0.9374 MB / 0.5499 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3617, allocations: 0.8667 MB / 0.5508 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3619, allocations: 59.41 kB / 0.5508 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3619, allocations: 0 / 0.5508 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01087/0.3728, allocations: 6.588 MB / 0.5573 GB, free: 7.078 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches