Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, 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.2239/0.2239, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 80.09 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.355, allocations: 62.42 MB / 0.5318 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002883/0.3579, allocations: 1.757 MB / 0.5335 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3595, allocations: 1.026 MB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.3595, allocations: 1.375 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3598, allocations: 94.12 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.3602, allocations: 120.8 kB / 0.5347 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3604, allocations: 82.91 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.3605, allocations: 112 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.3606, allocations: 20.17 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3607, allocations: 60.52 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3609, allocations: 63.44 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3609, allocations: 4.125 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.361, allocations: 59.14 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.3611, allocations: 33.62 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.3611, allocations: 40.27 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3613, allocations: 142.9 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3614, allocations: 0 / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3614, allocations: 1.344 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3614, allocations: 3.938 kB / 0.5353 GB, free: 10.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005752/0.362, allocations: 439.6 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.362, allocations: 8.938 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.3621, allocations: 11.22 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.3624, allocations: 223.4 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3625, allocations: 1.688 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.3625, allocations: 11.88 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3627, allocations: 59.97 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3627, allocations: 5.219 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3628, allocations: 0 / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3628, allocations: 5.125 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.3629, allocations: 25.16 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.3633, allocations: 304.6 kB / 0.5363 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3636, allocations: 62.08 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.3637, allocations: 21.95 kB / 0.5364 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3637, allocations: 1.031 kB / 0.5364 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.3639, allocations: 79.14 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3639, allocations: 0 / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008236/0.3648, allocations: 250.2 kB / 0.5367 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3648, allocations: 53.34 kB / 0.5368 GB, free: 9.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.365, allocations: 243.5 kB / 0.537 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3651, allocations: 27.08 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3651, allocations: 111.9 kB / 0.5371 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.3652, allocations: 31.98 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3652, allocations: 29.67 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3654, allocations: 323.9 kB / 0.5375 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.3654, allocations: 34.8 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.3655, allocations: 51.73 kB / 0.5376 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3657, allocations: 80.17 kB / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3657, allocations: 0 / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002205/0.3659, allocations: 127 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.366, allocations: 8 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.366, allocations: 4.641 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.366, allocations: 1.469 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.3661, allocations: 29.14 kB / 0.5378 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3661, allocations: 5.5 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.3661, allocations: 1.5 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3661, allocations: 4.656 kB / 0.5378 GB, free: 8.664 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 (13): * Single equations (assignments): 13 * 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.000106/0.3663, allocations: 130.3 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3663, allocations: 14.5 kB / 0.538 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3663, allocations: 20.19 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3664, allocations: 5.234 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3664, allocations: 3.938 kB / 0.538 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3664, allocations: 96.48 kB / 0.5381 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3665, allocations: 1.562 kB / 0.5381 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.3665, allocations: 5.344 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3665, allocations: 8.141 kB / 0.5381 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002634/0.3668, allocations: 202.9 kB / 0.5383 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000279/0.3671, allocations: 299.9 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.557e-05/0.3672, allocations: 46.73 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3673, allocations: 173.8 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3673, allocations: 0 / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3689, allocations: 0.5416 MB / 0.5393 GB, free: 7.578 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007062/0.3696, allocations: 0.7038 MB / 0.54 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.005083/0.3748, allocations: 2.093 MB / 0.5421 GB, free: 5.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches