Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 118.8 kB / 17.79 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.001431/0.001431, allocations: 202 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.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2652/0.2652, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 72.09 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.412, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002995/0.415, allocations: 1.61 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.4161, allocations: 0.5534 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.4161, allocations: 0 / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.4164, allocations: 110.1 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.4168, allocations: 123.6 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4171, allocations: 106.6 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.4173, allocations: 91.61 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4174, allocations: 21.61 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.4174, allocations: 43.14 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.4176, allocations: 64.94 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.4176, allocations: 2.75 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.4177, allocations: 50.17 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.4178, allocations: 21.55 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.4178, allocations: 42.53 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.418, allocations: 108.9 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.418, allocations: 7.984 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.418, allocations: 1.375 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.418, allocations: 0 / 0.5339 GB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000614/0.4186, allocations: 424.1 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4187, allocations: 13.56 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.4188, allocations: 15.72 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.4191, allocations: 213.9 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4191, allocations: 5.734 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.4192, allocations: 3.125 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.4194, allocations: 63.55 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4194, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4194, allocations: 1.375 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4194, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4195, allocations: 32.45 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.42, allocations: 309.7 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4202, allocations: 48.16 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.4202, allocations: 16.94 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4203, allocations: 1.188 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4203, allocations: 35.78 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4203, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009644/0.4213, allocations: 251.2 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4213, allocations: 52.28 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.4216, allocations: 262.8 kB / 0.5356 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4216, allocations: 26.89 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.4217, allocations: 110 kB / 0.5357 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.4218, allocations: 35.05 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.4218, allocations: 20.44 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4219, allocations: 323.4 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.422, allocations: 31.66 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.4221, allocations: 29.42 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.4223, allocations: 74.38 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4223, allocations: 4 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002221/0.4225, allocations: 113.8 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4226, allocations: 5.156 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4226, allocations: 0 / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4226, allocations: 4.906 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4227, allocations: 21.55 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4227, allocations: 1.094 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.4228, allocations: 11 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4228, allocations: 6.203 kB / 0.5363 GB, free: 9.25 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 9.471e-05/0.4229, allocations: 136.1 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.423, allocations: 13.72 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.4233, allocations: 131.1 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4233, allocations: 1.094 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4233, allocations: 1.156 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.445e-05/0.4234, allocations: 11.86 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.4239, allocations: 427.4 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4239, allocations: 0 / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.424, allocations: 19.02 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.424, allocations: 3.938 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.424, allocations: 1.469 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.424, allocations: 1.469 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.424, allocations: 80 / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4243, allocations: 226.1 kB / 0.5373 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.4244, allocations: 87.64 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4244, allocations: 5.312 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.4245, allocations: 3.938 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4245, allocations: 7.953 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.4245, allocations: 3.016 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.4247, allocations: 191.4 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 1.188 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.425, allocations: 22.88 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001037/0.426, allocations: 455.2 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4263, allocations: 74.47 kB / 0.5381 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4263, allocations: 5.094 kB / 0.5381 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.4264, allocations: 35.52 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4268, allocations: 39.19 kB / 0.5382 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.4274, allocations: 299.2 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4277, allocations: 0.7158 MB / 0.5391 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.491e-05/0.4278, allocations: 28.94 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4278, allocations: 16.92 kB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4279, allocations: 5.125 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of Templates: time 0.00444/0.4323, allocations: 1.413 MB / 0.5406 GB, free: 6.188 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches