Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.001166, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3542, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003396/0.3576, allocations: 1.731 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3594, allocations: 1.042 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.3595, allocations: 0 / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3599, allocations: 37.39 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3602, allocations: 97.59 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3604, allocations: 83.27 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3606, allocations: 107.3 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3608, allocations: 11.47 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.3609, allocations: 46.66 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.361, allocations: 48.08 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.361, allocations: 5.5 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.3612, allocations: 116.4 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.3612, allocations: 21.36 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.3613, allocations: 40.03 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3616, allocations: 177.3 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3616, allocations: 4 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3616, allocations: 0 / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3616, allocations: 1.375 kB / 0.5352 GB, free: 10.95 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.0005706/0.3622, allocations: 420.5 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3623, allocations: 9.625 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.3623, allocations: 14.28 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3626, allocations: 218.4 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3627, allocations: 13.67 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3627, allocations: 6.875 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3629, allocations: 70.52 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3629, allocations: 0 / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3629, allocations: 0 / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3629, allocations: 1.375 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.363, allocations: 18.98 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.3634, allocations: 282.7 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3636, allocations: 68.36 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3636, allocations: 28.5 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3637, allocations: 2.281 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3638, allocations: 70.89 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3638, allocations: 0 / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006209/0.3645, allocations: 208.8 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3645, allocations: 78.3 kB / 0.5367 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3647, allocations: 164.5 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3647, allocations: 27.36 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3648, allocations: 108.1 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.3648, allocations: 28.28 kB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.3649, allocations: 31.3 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.365, allocations: 325.2 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.3651, allocations: 27.7 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.3652, allocations: 50.56 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3654, allocations: 80.44 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3654, allocations: 0 / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002397/0.3656, allocations: 131.3 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3656, allocations: 5.562 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3657, allocations: 1.094 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3657, allocations: 1.188 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3658, allocations: 21.08 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3658, allocations: 1.094 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3659, allocations: 10.22 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3659, allocations: 3.438 kB / 0.5376 GB, free: 8.688 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.0001022/0.366, allocations: 124.6 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.366, allocations: 16.64 kB / 0.5378 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.3661, allocations: 12.59 kB / 0.5378 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3661, allocations: 2.312 kB / 0.5378 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3661, allocations: 3.938 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3661, allocations: 7.938 kB / 0.5378 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.3666, allocations: 419 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3666, allocations: 7.922 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.3667, allocations: 14.53 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3667, allocations: 5.344 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3667, allocations: 1.375 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3667, allocations: 1.281 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3667, allocations: 1.406 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.367, allocations: 223.2 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3671, allocations: 88.8 kB / 0.5385 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3671, allocations: 8.875 kB / 0.5385 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3672, allocations: 6.109 kB / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.3672, allocations: 4.312 kB / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3672, allocations: 3.844 kB / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.3674, allocations: 132.3 kB / 0.5387 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3674, allocations: 0 / 0.5387 GB, free: 7.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.3677, allocations: 48.41 kB / 0.5387 GB, free: 7.703 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 (10): * Single equations (assignments): 8 * 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.001611/0.3693, allocations: 0.5576 MB / 0.5393 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3696, allocations: 80.56 kB / 0.5393 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3696, allocations: 1.469 kB / 0.5393 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.3697, allocations: 34.02 kB / 0.5394 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.37, allocations: 36.48 kB / 0.5394 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.3706, allocations: 249.6 kB / 0.5396 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3708, allocations: 0.7038 MB / 0.5403 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3709, allocations: 18.5 kB / 0.5403 GB, free: 6.406 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3709, allocations: 0 / 0.5403 GB, free: 6.406 MB / 398.1 MB Notification: Performance of Templates: time 0.005491/0.3764, allocations: 2.571 MB / 0.5429 GB, free: 5.078 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches