Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 79.88 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3287, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003305/0.3321, allocations: 1.735 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3338, allocations: 1.02 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.3339, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3342, allocations: 41.39 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.3346, allocations: 103 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.3349, allocations: 70.94 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3351, allocations: 110.3 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.3352, allocations: 10.86 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.3353, allocations: 40.3 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.3354, allocations: 37.41 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3354, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3355, allocations: 43.48 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3356, allocations: 18.8 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.3356, allocations: 39.92 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3359, allocations: 117.3 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3359, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3359, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3359, allocations: 0 / 0.5351 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.0005034/0.3364, allocations: 419.6 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3364, allocations: 9.625 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3365, allocations: 20.91 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3368, allocations: 212.6 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3368, allocations: 1.75 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3368, allocations: 6.875 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.337, allocations: 57.77 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.337, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.337, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.337, allocations: 1.344 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.3371, allocations: 18.36 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.3375, allocations: 286.6 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3377, allocations: 65.8 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.3377, allocations: 18.23 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3377, allocations: 0 / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.3379, allocations: 68.89 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3379, allocations: 1.438 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005368/0.3384, allocations: 181.2 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.3385, allocations: 52.59 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3387, allocations: 185.9 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3387, allocations: 30.7 kB / 0.5366 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.3388, allocations: 100.5 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3388, allocations: 23.36 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3388, allocations: 24.52 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3389, allocations: 330.1 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.339, allocations: 15.72 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.3391, allocations: 38.8 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3392, allocations: 59.3 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3392, allocations: 4 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.3394, allocations: 104.1 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3395, allocations: 8.953 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3395, allocations: 1.125 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3395, allocations: 1.062 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.3396, allocations: 16.69 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3396, allocations: 1.094 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.3397, allocations: 10.27 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3397, allocations: 10.3 kB / 0.5373 GB, free: 8.891 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.463e-05/0.3398, allocations: 125.8 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3398, allocations: 9.859 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.3399, allocations: 21.89 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3399, allocations: 5 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3399, allocations: 0 / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3399, allocations: 88.23 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.34, allocations: 4.969 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.34, allocations: 2.031 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3401, allocations: 10.92 kB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002257/0.3403, allocations: 168.6 kB / 0.5377 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002654/0.3406, allocations: 282.7 kB / 0.538 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.805e-05/0.3406, allocations: 34.12 kB / 0.538 GB, free: 8.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3408, allocations: 135 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3408, allocations: 0 / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.3422, allocations: 484.5 kB / 0.5386 GB, free: 7.891 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006327/0.3428, allocations: 0.6642 MB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Templates: time 0.005427/0.3483, allocations: 1.769 MB / 0.541 GB, free: 6.352 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches