Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 246.9 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.249/0.249, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4754, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003053/0.4785, allocations: 1.6 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4796, allocations: 0.543 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.4797, allocations: 0 / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.4799, allocations: 21.84 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.4803, allocations: 83.44 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.4806, allocations: 117.6 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.4808, allocations: 63.39 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4809, allocations: 14.86 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.4809, allocations: 24.06 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.481, allocations: 22.73 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.481, allocations: 6.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.4811, allocations: 36.59 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.4812, allocations: 12.06 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.4813, allocations: 21.36 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4815, allocations: 89.03 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4815, allocations: 0 / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4815, allocations: 1.375 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4815, allocations: 0 / 0.5336 GB, free: 11.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005596/0.4821, allocations: 388.9 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4821, allocations: 13.62 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.4822, allocations: 9.016 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.4824, allocations: 193.8 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.4824, allocations: 4.312 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4824, allocations: 3.125 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.4826, allocations: 56.8 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4826, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4826, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4826, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.4828, allocations: 29.67 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.4832, allocations: 284.2 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4835, allocations: 44.44 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.4835, allocations: 17.19 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4836, allocations: 3.984 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4836, allocations: 39.88 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.4836, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006186/0.4842, allocations: 151.4 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4843, allocations: 56.72 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4845, allocations: 166.7 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4845, allocations: 25.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.4846, allocations: 105.3 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4846, allocations: 17.08 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.4846, allocations: 13.66 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4848, allocations: 321.8 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.4849, allocations: 19.55 kB / 0.5355 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.4849, allocations: 20.23 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4851, allocations: 59.16 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4851, allocations: 1.281 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001926/0.4853, allocations: 87.09 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4853, allocations: 10.28 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4853, allocations: 0 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4854, allocations: 0 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.4854, allocations: 13.89 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4855, allocations: 3.984 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.4855, allocations: 19.73 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4855, allocations: 1.375 kB / 0.5357 GB, free: 9.633 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 (5): * Single equations (assignments): 5 * 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.612e-05/0.4856, allocations: 115.9 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.4857, allocations: 7.766 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.4859, allocations: 105.4 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4859, allocations: 5.281 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4859, allocations: 0 / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4859, allocations: 7.938 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.4864, allocations: 353.5 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4864, allocations: 0 / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.4865, allocations: 12.98 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4865, allocations: 1.094 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4865, allocations: 5.156 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4865, allocations: 0 / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4865, allocations: 0 / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4868, allocations: 186.8 kB / 0.5364 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.4868, allocations: 83.25 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4869, allocations: 9.344 kB / 0.5365 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.4869, allocations: 11.42 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.487, allocations: 2.219 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.487, allocations: 1.125 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.4871, allocations: 131.2 kB / 0.5367 GB, free: 8.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4871, allocations: 0 / 0.5367 GB, free: 8.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.4873, allocations: 22.62 kB / 0.5367 GB, free: 8.676 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009445/0.4883, allocations: 399.8 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4885, allocations: 51.78 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4885, allocations: 0 / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.4886, allocations: 32.52 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.489, allocations: 21.59 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.4895, allocations: 200.2 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4898, allocations: 0.6961 MB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.4899, allocations: 25.08 kB / 0.5381 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.4899, allocations: 11.75 kB / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.274e-06/0.4899, allocations: 0 / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of Templates: time 0.00384/0.4937, allocations: 1.135 MB / 0.5392 GB, free: 6.934 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches