Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, 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.235/0.235, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4206, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003214/0.4239, allocations: 1.594 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.4257, allocations: 1.167 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.4258, allocations: 5.156 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.426, allocations: 29.31 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4263, allocations: 81.44 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.4266, allocations: 113.2 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.4268, allocations: 71.31 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4269, allocations: 14.88 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.427, allocations: 25.48 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4271, allocations: 32.22 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.4272, allocations: 6.688 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.4273, allocations: 104.1 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.4274, allocations: 14.67 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.4275, allocations: 21.38 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.4277, allocations: 146.9 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4277, allocations: 1.375 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4277, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4278, allocations: 0 / 0.5343 GB, free: 11.03 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.0005344/0.4283, allocations: 403.5 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4283, allocations: 9.625 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.4284, allocations: 7.641 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4286, allocations: 197.8 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4286, allocations: 1.75 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4286, allocations: 1.75 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.4288, allocations: 69.27 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4288, allocations: 4 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4288, allocations: 5.312 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4289, allocations: 0 / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.4289, allocations: 21.73 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.4293, allocations: 284.2 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4295, allocations: 56.36 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.4296, allocations: 17.05 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4296, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4297, allocations: 40.02 kB / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.4297, allocations: 0 / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006019/0.4303, allocations: 151.2 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.4304, allocations: 82.2 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4305, allocations: 144 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4305, allocations: 25.7 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.4306, allocations: 95.41 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4307, allocations: 18.11 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.4307, allocations: 18.88 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4308, allocations: 325.6 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.4309, allocations: 22.83 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.431, allocations: 32.02 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4312, allocations: 56.12 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.4312, allocations: 4 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.4314, allocations: 91.2 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4314, allocations: 9.688 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4314, allocations: 0 / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4314, allocations: 1.125 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.4315, allocations: 13.77 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4315, allocations: 3.938 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.4316, allocations: 7.203 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4316, allocations: 6.156 kB / 0.5365 GB, free: 8.945 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 8.858e-05/0.4317, allocations: 114.4 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.4317, allocations: 11.3 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.432, allocations: 100 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.432, allocations: 1.219 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.432, allocations: 0 / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.432, allocations: 0 / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.4325, allocations: 359.4 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4325, allocations: 1.188 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.4326, allocations: 20.98 kB / 0.537 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4326, allocations: 1.25 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.4326, allocations: 3.938 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4326, allocations: 4.906 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4326, allocations: 0 / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4329, allocations: 179.7 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.4329, allocations: 90.25 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4329, allocations: 5.219 kB / 0.5373 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.433, allocations: 11.39 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.4331, allocations: 2.125 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.4331, allocations: 2.25 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4332, allocations: 113.8 kB / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4332, allocations: 0 / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.4335, allocations: 35.78 kB / 0.5375 GB, free: 7.988 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.001169/0.4347, allocations: 0.4918 MB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4349, allocations: 55.3 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4349, allocations: 0 / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.435, allocations: 25.77 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.4353, allocations: 25.58 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.4357, allocations: 171.7 kB / 0.5382 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4359, allocations: 0.6934 MB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.436, allocations: 18.23 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.4361, allocations: 18.14 kB / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4361, allocations: 0 / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Templates: time 0.004531/0.4406, allocations: 1.76 MB / 0.5407 GB, free: 5.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches