Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 71.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3458, allocations: 62.42 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003285/0.3492, allocations: 1.733 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.351, allocations: 1.021 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3511, allocations: 5.656 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3515, allocations: 81.2 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3519, allocations: 115.5 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.3522, allocations: 79.09 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3524, allocations: 117.6 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3525, allocations: 10.86 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3526, allocations: 57.72 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3528, allocations: 63.25 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3528, allocations: 4.125 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3529, allocations: 48.84 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.353, allocations: 20.17 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.3531, allocations: 35.98 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3533, allocations: 125.4 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3533, allocations: 0 / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3534, allocations: 3.938 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3534, allocations: 0 / 0.5352 GB, free: 10.99 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.0005837/0.354, allocations: 431.6 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.354, allocations: 12.19 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.3541, allocations: 18.28 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3544, allocations: 218 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3544, allocations: 1.75 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3544, allocations: 6.875 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3546, allocations: 54.05 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3546, allocations: 0 / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3546, allocations: 11.92 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3546, allocations: 1.375 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.3547, allocations: 15 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3551, allocations: 292.2 kB / 0.5362 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3553, allocations: 53.86 kB / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3554, allocations: 29.52 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3554, allocations: 1.062 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3556, allocations: 65.3 kB / 0.5363 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.3556, allocations: 0 / 0.5363 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005898/0.3562, allocations: 186.3 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3562, allocations: 52.81 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.3564, allocations: 230.2 kB / 0.5368 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3565, allocations: 26.55 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.3565, allocations: 106.5 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3566, allocations: 23.39 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3566, allocations: 28.11 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3568, allocations: 327.9 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3568, allocations: 22.2 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.3569, allocations: 40.14 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.357, allocations: 54.22 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.357, allocations: 1.062 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.3572, allocations: 107.3 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3573, allocations: 5.625 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.3573, allocations: 1.219 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3573, allocations: 0 / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.3574, allocations: 13.59 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3574, allocations: 8.797 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.3575, allocations: 2.188 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3575, allocations: 15.19 kB / 0.5375 GB, free: 8.781 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.0001093/0.3576, allocations: 129.3 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3576, allocations: 13.69 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.3577, allocations: 20.09 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3577, allocations: 0 / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3577, allocations: 3.938 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3578, allocations: 96.36 kB / 0.5378 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3578, allocations: 5.156 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.3579, allocations: 2.281 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3579, allocations: 10.19 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002176/0.3581, allocations: 173.2 kB / 0.538 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002814/0.3584, allocations: 283.1 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.609e-05/0.3585, allocations: 29.73 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3587, allocations: 168.7 kB / 0.5384 GB, free: 7.988 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3587, allocations: 0 / 0.5384 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.3603, allocations: 487.2 kB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006777/0.361, allocations: 0.69 MB / 0.5395 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.005068/0.366, allocations: 1.791 MB / 0.5413 GB, free: 6.203 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches