Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 117.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 207.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 80.09 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4134, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003118/0.4165, allocations: 1.625 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.4175, allocations: 0.5469 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.4176, allocations: 1.375 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.4179, allocations: 78.08 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.4182, allocations: 102.1 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.4185, allocations: 117.2 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.4187, allocations: 92.86 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4188, allocations: 17.61 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.4189, allocations: 27.05 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.419, allocations: 56.69 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.419, allocations: 6.75 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.4191, allocations: 49.94 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.4192, allocations: 19.86 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.4192, allocations: 34.44 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.4194, allocations: 112.8 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4194, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4195, allocations: 0.7812 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.4195, allocations: 0 / 0.5338 GB, free: 11.5 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.0005264/0.42, allocations: 414.2 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4201, allocations: 12.53 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.4201, allocations: 10.41 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4203, allocations: 204.4 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4204, allocations: 5.594 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.4204, allocations: 6.844 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4206, allocations: 51.47 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4206, allocations: 3.906 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4206, allocations: 5.234 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4206, allocations: 1.25 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.4207, allocations: 35.73 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4211, allocations: 299.9 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4213, allocations: 47.27 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.4213, allocations: 21.94 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4214, allocations: 0 / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4214, allocations: 35.78 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4214, allocations: 0 / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009897/0.4224, allocations: 242.5 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4225, allocations: 56.66 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.4227, allocations: 218.3 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.4227, allocations: 26.83 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.4228, allocations: 105 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.4228, allocations: 27.41 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.4229, allocations: 24.45 kB / 0.5356 GB, free: 9.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.423, allocations: 322.9 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.4231, allocations: 27.11 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.4231, allocations: 37.84 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4233, allocations: 74.17 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4233, allocations: 0 / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.4235, allocations: 108.4 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4236, allocations: 8.469 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4236, allocations: 3.984 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4236, allocations: 9.25 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4237, allocations: 13.16 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4237, allocations: 5.422 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4238, allocations: 6.188 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4238, allocations: 6.812 kB / 0.5362 GB, free: 9.34 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.311e-05/0.4239, allocations: 124.4 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.4239, allocations: 17 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.4243, allocations: 139.1 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4243, allocations: 0.9688 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4243, allocations: 3.938 kB / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4243, allocations: 7.938 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.4248, allocations: 415.6 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4248, allocations: 1.125 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.4249, allocations: 17.8 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4249, allocations: 9.156 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4249, allocations: 0.9375 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4249, allocations: 1.125 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.425, allocations: 1.062 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4252, allocations: 212.7 kB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4253, allocations: 95.59 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4253, allocations: 5.75 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.4254, allocations: 3.031 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4254, allocations: 7.641 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.4254, allocations: 2.281 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4256, allocations: 171.2 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4256, allocations: 0 / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.4258, allocations: 23.69 kB / 0.5374 GB, free: 8.273 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.4269, allocations: 456.2 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4271, allocations: 79.44 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4272, allocations: 4 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4273, allocations: 40.67 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4276, allocations: 21.12 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.4282, allocations: 267.6 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4285, allocations: 0.7168 MB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.4286, allocations: 16.16 kB / 0.5389 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.4286, allocations: 13.53 kB / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4286, allocations: 0 / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.004178/0.4328, allocations: 1.414 MB / 0.5403 GB, free: 6.316 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches