Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002206, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 71.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4435, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00312/0.4467, allocations: 1.591 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.4486, allocations: 1.157 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.4486, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4489, allocations: 25.34 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.4492, allocations: 81.75 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.4495, allocations: 94.81 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4497, allocations: 65.95 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4498, allocations: 18.86 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.4498, allocations: 25.48 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.45, allocations: 34.84 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.45, allocations: 4.125 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.4502, allocations: 98.73 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.4503, allocations: 14.69 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.4503, allocations: 21.36 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.4506, allocations: 142.9 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4506, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4507, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4507, allocations: 5.312 kB / 0.5343 GB, free: 11.06 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.0006371/0.4513, allocations: 411.5 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4514, allocations: 8.25 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.4514, allocations: 9.016 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4517, allocations: 192.5 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4517, allocations: 1.75 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.4517, allocations: 3.125 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4519, allocations: 71.89 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4519, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.452, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.452, allocations: 5.312 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.4521, allocations: 21.39 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.4525, allocations: 274.6 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4527, allocations: 47.84 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.4528, allocations: 23.19 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.4529, allocations: 5.297 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4529, allocations: 35.66 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4529, allocations: 0 / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006277/0.4535, allocations: 149.4 kB / 0.5355 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.4536, allocations: 78.11 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4538, allocations: 143.9 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4538, allocations: 25.7 kB / 0.5357 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4539, allocations: 96.22 kB / 0.5358 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.4539, allocations: 21.95 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.454, allocations: 14.62 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4541, allocations: 324 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.4542, allocations: 22.39 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.4543, allocations: 31.23 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4544, allocations: 47.86 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4545, allocations: 0 / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.4547, allocations: 81.25 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4547, allocations: 8.719 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4547, allocations: 0 / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4547, allocations: 1.281 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.4548, allocations: 13.95 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4548, allocations: 3.984 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.4549, allocations: 7.391 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4549, allocations: 6.125 kB / 0.5364 GB, free: 8.992 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 0.0001179/0.455, allocations: 113 kB / 0.5365 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.4551, allocations: 11.33 kB / 0.5365 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4553, allocations: 93.28 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4553, allocations: 1.031 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4554, allocations: 3.938 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4554, allocations: 1.375 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.4559, allocations: 354.6 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4559, allocations: 0 / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.456, allocations: 20.89 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.456, allocations: 1.188 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.456, allocations: 5.094 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.456, allocations: 3.938 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.456, allocations: 1.188 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4563, allocations: 170.8 kB / 0.5371 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.4563, allocations: 90.92 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4564, allocations: 5.125 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.4565, allocations: 7.281 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4565, allocations: 6.391 kB / 0.5372 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4565, allocations: 2.031 kB / 0.5372 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.4566, allocations: 109.8 kB / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4566, allocations: 0 / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.457, allocations: 39.52 kB / 0.5374 GB, free: 8.039 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.001311/0.4583, allocations: 0.4967 MB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.4585, allocations: 48.47 kB / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4585, allocations: 0 / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.4586, allocations: 24.73 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.459, allocations: 18.34 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.4596, allocations: 160.1 kB / 0.5381 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4599, allocations: 0.6974 MB / 0.5388 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.75e-05/0.46, allocations: 22.69 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.46, allocations: 18.02 kB / 0.5388 GB, free: 6.863 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.46, allocations: 0 / 0.5388 GB, free: 6.863 MB / 398.1 MB Notification: Performance of Templates: time 0.006052/0.4661, allocations: 1.742 MB / 0.5405 GB, free: 5.957 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches