Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001507, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 201.2 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.726/1.726, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2601/0.2601, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4507, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002841/0.4536, allocations: 1.633 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.4552, allocations: 1.161 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.4553, allocations: 1.375 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.4555, allocations: 31.91 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.4558, allocations: 85.73 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.4561, allocations: 110.7 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.4563, allocations: 79.39 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4564, allocations: 22.98 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.4565, allocations: 30.84 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4567, allocations: 41.59 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.4567, allocations: 4.125 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.4569, allocations: 100.8 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.4569, allocations: 21.5 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.457, allocations: 29.05 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.4573, allocations: 160 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4573, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4573, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4573, allocations: 0 / 0.5344 GB, free: 11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005618/0.4579, allocations: 419.8 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4579, allocations: 13.47 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.458, allocations: 9.297 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4582, allocations: 194.6 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.4582, allocations: 6.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4583, allocations: 3 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4584, allocations: 83.91 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4585, allocations: 3.953 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4585, allocations: 1.219 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4585, allocations: 5.219 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.4586, allocations: 39.97 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.4591, allocations: 309.5 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4592, allocations: 57.91 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.4593, allocations: 22.12 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4593, allocations: 6.156 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4593, allocations: 31.72 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.617e-06/0.4593, allocations: 3.984 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006596/0.46, allocations: 198 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4601, allocations: 78.08 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4602, allocations: 161.1 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4602, allocations: 30.92 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.4603, allocations: 96.05 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4603, allocations: 26.45 kB / 0.5361 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.4604, allocations: 24.22 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.4605, allocations: 317.6 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.4606, allocations: 35.97 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.4607, allocations: 44.58 kB / 0.5365 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4608, allocations: 78.05 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4608, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002036/0.4611, allocations: 108.2 kB / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4611, allocations: 6.812 kB / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4611, allocations: 384 / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4611, allocations: 4.594 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.4612, allocations: 19.02 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4612, allocations: 8.25 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.4613, allocations: 8.047 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4613, allocations: 1.5 kB / 0.5368 GB, free: 8.793 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 8.926e-05/0.4614, allocations: 119.8 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.4614, allocations: 16.09 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.4617, allocations: 131.3 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4617, allocations: 1.062 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4617, allocations: 5.25 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4618, allocations: 0 / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.4623, allocations: 400.5 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4623, allocations: 0 / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.4623, allocations: 17.98 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4624, allocations: 5.188 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4624, allocations: 9.094 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4624, allocations: 0 / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4624, allocations: 1.281 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.4627, allocations: 210.1 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.4627, allocations: 87.5 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4628, allocations: 5.094 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.4629, allocations: 12.27 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.4629, allocations: 6.406 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4629, allocations: 2 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.463, allocations: 117.3 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.463, allocations: 0 / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.4633, allocations: 42.39 kB / 0.5379 GB, free: 7.77 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 (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.001051/0.4644, allocations: 494.5 kB / 0.5384 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4646, allocations: 83.02 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4646, allocations: 0 / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.4647, allocations: 36.55 kB / 0.5385 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4651, allocations: 19 kB / 0.5385 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4655, allocations: 205.4 kB / 0.5387 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4658, allocations: 0.6981 MB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.4659, allocations: 29.41 kB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.4659, allocations: 23.38 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4659, allocations: 0 / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.004476/0.4704, allocations: 1.867 MB / 0.5413 GB, free: 5.578 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches