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.001398/0.001398, allocations: 118.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.86 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4532, allocations: 62.42 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003676/0.457, allocations: 1.602 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.4591, allocations: 1.156 MB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4592, allocations: 1.375 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.4595, allocations: 23.97 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.46, allocations: 81.75 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.4605, allocations: 98.31 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.4607, allocations: 59.34 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.4609, allocations: 13.48 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.461, allocations: 30.86 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.4613, allocations: 29.47 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.4614, allocations: 12.06 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.4617, allocations: 100.1 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.4618, allocations: 18.66 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.4619, allocations: 23.98 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.4624, allocations: 131.9 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4624, allocations: 0 / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.4624, allocations: 0 / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4624, allocations: 0 / 0.5343 GB, free: 11.08 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.0008108/0.4632, allocations: 407.7 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.4633, allocations: 13.62 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.4634, allocations: 8.969 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.4638, allocations: 190.3 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4638, allocations: 1.75 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.4638, allocations: 5.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.464, allocations: 59.91 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4641, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4641, allocations: 3.938 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4641, allocations: 1.375 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.4642, allocations: 28.19 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.4647, allocations: 279.9 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.465, allocations: 43.12 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.4651, allocations: 23.56 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4651, allocations: 5.375 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4652, allocations: 30.56 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.4652, allocations: 1.25 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006535/0.4658, allocations: 140.3 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.4659, allocations: 78.2 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4661, allocations: 149.9 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4661, allocations: 26.52 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.4662, allocations: 91.27 kB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4662, allocations: 25.89 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.4663, allocations: 18.53 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4664, allocations: 321.3 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.4665, allocations: 18.36 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.4666, allocations: 33.98 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4668, allocations: 47.86 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4668, allocations: 1.094 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.467, allocations: 76.27 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.467, allocations: 7.875 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.467, allocations: 0 / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.467, allocations: 0 / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.4671, allocations: 18.05 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4671, allocations: 5.188 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.4672, allocations: 11.16 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4672, allocations: 5.031 kB / 0.5364 GB, free: 9.023 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.0001817/0.4674, allocations: 118.2 kB / 0.5365 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.4674, allocations: 3.406 kB / 0.5365 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.4677, allocations: 97.08 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4677, allocations: 4 kB / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4677, allocations: 1.312 kB / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4677, allocations: 0 / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.4683, allocations: 350.6 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4683, allocations: 3.984 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.4684, allocations: 14.09 kB / 0.5369 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4684, allocations: 0 / 0.5369 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4684, allocations: 5.188 kB / 0.5369 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.4685, allocations: 9.062 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4685, allocations: 0 / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.4688, allocations: 179.7 kB / 0.5371 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.4689, allocations: 79.3 kB / 0.5372 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4689, allocations: 0.9688 kB / 0.5372 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.469, allocations: 11.39 kB / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.469, allocations: 6.062 kB / 0.5372 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4691, allocations: 1.188 kB / 0.5372 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.4692, allocations: 115 kB / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4692, allocations: 0 / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.4695, allocations: 43.2 kB / 0.5374 GB, free: 8.07 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.001355/0.4709, allocations: 0.4939 MB / 0.5379 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.4711, allocations: 47.89 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4712, allocations: 4 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.4713, allocations: 23.95 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4717, allocations: 21.08 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4724, allocations: 169.8 kB / 0.5381 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.4729, allocations: 0.6898 MB / 0.5388 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.473, allocations: 21.95 kB / 0.5388 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4731, allocations: 13.84 kB / 0.5388 GB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4731, allocations: 0 / 0.5388 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Templates: time 0.006591/0.4797, allocations: 1.759 MB / 0.5405 GB, free: 5.977 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