Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 112.9 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.00135/0.00135, allocations: 208.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.482/1.482, allocations: 227.4 MB / 247.6 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.2446/0.2446, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4099, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003077/0.4131, allocations: 1.675 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4149, allocations: 1.192 MB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.415, allocations: 1.375 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.4152, allocations: 31.91 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.4155, allocations: 81.73 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.4159, allocations: 177.4 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.416, allocations: 83.33 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.4161, allocations: 26.97 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.4162, allocations: 26.86 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.4163, allocations: 40.2 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.4163, allocations: 5.5 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.4165, allocations: 100.1 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.4166, allocations: 22.8 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.4166, allocations: 25.36 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.4168, allocations: 149.2 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4168, allocations: 1.375 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4169, allocations: 0 / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4169, allocations: 4 kB / 0.5352 GB, free: 10.89 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.000439/0.4173, allocations: 415 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.4173, allocations: 9.625 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4174, allocations: 12.77 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4176, allocations: 196.1 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.4176, allocations: 6.188 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4176, allocations: 2.094 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4178, allocations: 83.11 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4178, allocations: 0 / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.4178, allocations: 1.094 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.4178, allocations: 1.062 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.418, allocations: 42.64 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.4184, allocations: 304.9 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4185, allocations: 53.39 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.4186, allocations: 26.09 kB / 0.5363 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4186, allocations: 0 / 0.5363 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4186, allocations: 36.06 kB / 0.5363 GB, free: 9.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4186, allocations: 0 / 0.5363 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007897/0.4194, allocations: 238.1 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4195, allocations: 82.33 kB / 0.5367 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4196, allocations: 149.7 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4197, allocations: 26.83 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.4197, allocations: 103.5 kB / 0.5369 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.4198, allocations: 22.97 kB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.4198, allocations: 23.27 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4199, allocations: 325.8 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4201, allocations: 33.44 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4202, allocations: 53.75 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4204, allocations: 94.72 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4204, allocations: 0 / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002993/0.4208, allocations: 121 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4208, allocations: 9.312 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.4208, allocations: 4 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.4208, allocations: 5.047 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4209, allocations: 22.86 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.4209, allocations: 0 / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.421, allocations: 18.61 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.421, allocations: 2.094 kB / 0.5376 GB, free: 8.668 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 (7): * Single equations (assignments): 7 * 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.989e-05/0.4211, allocations: 119.6 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.4212, allocations: 12.28 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.4215, allocations: 138.2 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4215, allocations: 1.812 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4215, allocations: 0 / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4216, allocations: 7.922 kB / 0.5379 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.4221, allocations: 418.8 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4221, allocations: 0 / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.4222, allocations: 18.67 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4223, allocations: 1.312 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4223, allocations: 5.375 kB / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4223, allocations: 0 / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4223, allocations: 0 / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.4226, allocations: 228 kB / 0.5385 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.4227, allocations: 87.69 kB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4227, allocations: 5.281 kB / 0.5386 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.4228, allocations: 9.188 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.4229, allocations: 7.016 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4229, allocations: 1.469 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.423, allocations: 125.6 kB / 0.5388 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.423, allocations: 0 / 0.5388 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.4233, allocations: 34.56 kB / 0.5388 GB, free: 7.637 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 (7): * Single equations (assignments): 7 * 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.001076/0.4244, allocations: 484.4 kB / 0.5393 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.4247, allocations: 97.27 kB / 0.5393 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4247, allocations: 3.938 kB / 0.5393 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4248, allocations: 53.12 kB / 0.5394 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4251, allocations: 21.19 kB / 0.5394 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.4256, allocations: 240 kB / 0.5396 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4259, allocations: 0.6976 MB / 0.5403 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.426, allocations: 23.05 kB / 0.5403 GB, free: 6.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.426, allocations: 1.188 kB / 0.5404 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Templates: time 0.004646/0.4307, allocations: 2.203 MB / 0.5425 GB, free: 5.246 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches