Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 204.7 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.387/1.387, 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.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4209, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003597/0.4245, allocations: 1.609 MB / 0.5326 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.4266, allocations: 1.16 MB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.4267, allocations: 0 / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.4269, allocations: 21.3 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.4273, allocations: 85.36 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.4276, allocations: 114.5 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.4278, allocations: 63.12 kB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.428, allocations: 22.75 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.4281, allocations: 30.14 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.4283, allocations: 31.12 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.4283, allocations: 3.406 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.4285, allocations: 99.97 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.4286, allocations: 15.17 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.4286, allocations: 25.08 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.429, allocations: 131.3 kB / 0.5343 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.429, allocations: 11.92 kB / 0.5343 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.429, allocations: 0 / 0.5343 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.429, allocations: 1.312 kB / 0.5343 GB, free: 11.25 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.0007484/0.4298, allocations: 401.7 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.4298, allocations: 9.625 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.4299, allocations: 7.594 kB / 0.5347 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.4302, allocations: 189.8 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4303, allocations: 1.75 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.4303, allocations: 5.75 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4305, allocations: 67.89 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4305, allocations: 1.375 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4306, allocations: 4 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4306, allocations: 1.375 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4307, allocations: 25.67 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.4312, allocations: 284.3 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4315, allocations: 48.41 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.4315, allocations: 19.67 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4316, allocations: 1.375 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.4316, allocations: 35.88 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4316, allocations: 0 / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007/0.4323, allocations: 149.7 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.4324, allocations: 82.58 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4326, allocations: 146.2 kB / 0.5358 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4326, allocations: 25.7 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.4327, allocations: 91.61 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.4327, allocations: 30.12 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.4328, allocations: 21.91 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4329, allocations: 321.7 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.433, allocations: 18.89 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.4331, allocations: 36.89 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4332, allocations: 55.86 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4332, allocations: 4.031 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/0.4335, allocations: 86.56 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4335, allocations: 5.312 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4335, allocations: 1.125 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4335, allocations: 0 / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.4336, allocations: 13.52 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4336, allocations: 1.031 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.4336, allocations: 11.16 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.4337, allocations: 14.14 kB / 0.5365 GB, free: 9.172 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.285e-05/0.4338, allocations: 114 kB / 0.5366 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4338, allocations: 3.406 kB / 0.5366 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.4341, allocations: 108.2 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.4341, allocations: 1.219 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4341, allocations: 0 / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4341, allocations: 0 / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.4345, allocations: 360.1 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4346, allocations: 0 / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.4346, allocations: 10.16 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4346, allocations: 0 / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4346, allocations: 9.078 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4347, allocations: 8.062 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4347, allocations: 8.969 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4349, allocations: 181.9 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.435, allocations: 79.92 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.435, allocations: 1.312 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.4351, allocations: 10.34 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4351, allocations: 6.047 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.4351, allocations: 2.188 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.4352, allocations: 112.9 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4352, allocations: 0 / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000291/0.4355, allocations: 47.83 kB / 0.5375 GB, free: 8.211 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.001204/0.4368, allocations: 486.8 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.437, allocations: 55.53 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.437, allocations: 0 / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.4371, allocations: 28.88 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4375, allocations: 23.17 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.4379, allocations: 169.7 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4383, allocations: 0.6937 MB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.4383, allocations: 21.78 kB / 0.5389 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.4384, allocations: 18.06 kB / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4384, allocations: 0 / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.004963/0.4434, allocations: 1.769 MB / 0.5406 GB, free: 6.121 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches