Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 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.2276/0.2276, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 76.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3842, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003045/0.3873, allocations: 1.609 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.3883, allocations: 0.5334 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.3883, allocations: 5.312 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3886, allocations: 96.98 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.3889, allocations: 111.6 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3892, allocations: 91.25 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3894, allocations: 84.88 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3895, allocations: 16.25 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.3896, allocations: 36.39 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3897, allocations: 55.31 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3897, allocations: 4.125 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.3898, allocations: 48.52 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.3899, allocations: 19.73 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3899, allocations: 42.61 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.3901, allocations: 115.2 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3902, allocations: 0 / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3902, allocations: 3.938 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3902, allocations: 0.9688 kB / 0.5338 GB, free: 11.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004997/0.3907, allocations: 418.9 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3907, allocations: 9.469 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3908, allocations: 13.78 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.391, allocations: 200.8 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.391, allocations: 1.75 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.391, allocations: 11.36 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3912, allocations: 62.25 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3912, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3912, allocations: 1.281 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3912, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.475e-05/0.3913, allocations: 23.77 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.3917, allocations: 307.9 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.3918, allocations: 43.47 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.3919, allocations: 15.58 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3919, allocations: 1.125 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3919, allocations: 35.86 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3919, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008683/0.3928, allocations: 230.5 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3929, allocations: 52.53 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3931, allocations: 234.9 kB / 0.5354 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3931, allocations: 29.7 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3932, allocations: 110.4 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3933, allocations: 31.47 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3933, allocations: 23.05 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3934, allocations: 322.6 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.3935, allocations: 25.73 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.3936, allocations: 23.11 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3937, allocations: 59.08 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3938, allocations: 5.375 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/0.394, allocations: 104.2 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.394, allocations: 4.438 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.394, allocations: 0.9375 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.394, allocations: 0 / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.3941, allocations: 22.23 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3941, allocations: 1.375 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3942, allocations: 6.5 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3942, allocations: 6.812 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.016e-05/0.3943, allocations: 130.6 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3943, allocations: 17.12 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.3946, allocations: 124.4 kB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3946, allocations: 1.438 kB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3946, allocations: 0 / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3946, allocations: 5.438 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3951, allocations: 411.9 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3951, allocations: 5.109 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.3952, allocations: 13.67 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3952, allocations: 5 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3952, allocations: 6.203 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3952, allocations: 0 / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3953, allocations: 1 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3955, allocations: 212.7 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.3956, allocations: 96.78 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3956, allocations: 1.375 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.3957, allocations: 3.594 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3957, allocations: 14.39 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3957, allocations: 6.188 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3959, allocations: 183.1 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3959, allocations: 0 / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3961, allocations: 17.91 kB / 0.5373 GB, free: 8.312 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001025/0.3972, allocations: 453.9 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3974, allocations: 66.64 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3974, allocations: 0 / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.3975, allocations: 38.23 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3978, allocations: 25.66 kB / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.3984, allocations: 271.6 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3987, allocations: 0.7047 MB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.3988, allocations: 20.98 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.3989, allocations: 22 kB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3989, allocations: 3.938 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Templates: time 0.004187/0.4031, allocations: 1.376 MB / 0.5402 GB, free: 6.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches