Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001434, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003104/0.3541, allocations: 1.673 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3552, allocations: 0.5792 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.3553, allocations: 5.969 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3556, allocations: 54.06 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.3559, allocations: 102.1 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3563, allocations: 180.6 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3565, allocations: 93.48 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3566, allocations: 22.95 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.3567, allocations: 34.88 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.3568, allocations: 50.8 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3568, allocations: 5.156 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3569, allocations: 43.52 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.357, allocations: 26.19 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.3571, allocations: 41.45 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3573, allocations: 115.5 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3573, allocations: 0 / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3573, allocations: 1.125 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3573, allocations: 0 / 0.5346 GB, free: 11.38 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.0005327/0.3578, allocations: 416 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3579, allocations: 9.281 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3579, allocations: 14.25 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3581, allocations: 208.3 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.3582, allocations: 5.75 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3582, allocations: 3.125 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3584, allocations: 69.03 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3584, allocations: 5.312 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3584, allocations: 4 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3584, allocations: 5.375 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3586, allocations: 40.66 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.359, allocations: 324.6 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3593, allocations: 56.67 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.3594, allocations: 33.38 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3594, allocations: 5.359 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3594, allocations: 39.88 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3594, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.3609, allocations: 417.3 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.361, allocations: 60.47 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.3612, allocations: 179.9 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3612, allocations: 33.69 kB / 0.5365 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.3613, allocations: 105.5 kB / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.3613, allocations: 40.28 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3614, allocations: 29.48 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3615, allocations: 326.8 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3617, allocations: 48.09 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3618, allocations: 61.36 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3621, allocations: 123.8 kB / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3621, allocations: 0 / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003409/0.3625, allocations: 165.5 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3625, allocations: 5 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3625, allocations: 0 / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3625, allocations: 1.125 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3626, allocations: 36.27 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3627, allocations: 4.953 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.3627, allocations: 9.844 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3627, allocations: 2.594 kB / 0.5374 GB, free: 9.035 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 (11): * Single equations (assignments): 11 * 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.0001112/0.3629, allocations: 128.7 kB / 0.5375 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3629, allocations: 13.66 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.3633, allocations: 190.8 kB / 0.5377 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3634, allocations: 5.094 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3634, allocations: 5.156 kB / 0.5377 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3634, allocations: 0 / 0.5377 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.3641, allocations: 0.4937 MB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3641, allocations: 3.984 kB / 0.5382 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3642, allocations: 37.27 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3642, allocations: 1.312 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3643, allocations: 2.219 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3643, allocations: 1 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3643, allocations: 1.125 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3647, allocations: 280.3 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3647, allocations: 85.64 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3648, allocations: 5.516 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.3649, allocations: 9.906 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3649, allocations: 8.016 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3649, allocations: 4 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3651, allocations: 152 kB / 0.5388 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3651, allocations: 4 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3654, allocations: 27.19 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001092/0.3665, allocations: 460.8 kB / 0.5392 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.3668, allocations: 128.2 kB / 0.5394 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3668, allocations: 1.125 kB / 0.5394 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.367, allocations: 71.55 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3674, allocations: 25.94 kB / 0.5395 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.368, allocations: 342.2 kB / 0.5398 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3684, allocations: 0.7111 MB / 0.5405 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.3684, allocations: 19.5 kB / 0.5405 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3684, allocations: 0 / 0.5405 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004139/0.3726, allocations: 2.064 MB / 0.5425 GB, free: 5.469 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches