Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009578/0.0009578, allocations: 200.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007601/0.0007601, allocations: 99.12 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09502, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001742/0.0968, allocations: 1.292 MB / 0.5166 GB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.09816, allocations: 1.066 MB / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.09821, allocations: 4 kB / 0.5176 GB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.0984, allocations: 27.91 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.09862, allocations: 59.77 kB / 0.5177 GB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.09883, allocations: 78.34 kB / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.09895, allocations: 55.83 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.248e-05/0.09904, allocations: 19.97 kB / 0.5179 GB, free: 152 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.0991, allocations: 23.86 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.09921, allocations: 27.8 kB / 0.5179 GB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.09924, allocations: 4 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.09938, allocations: 79.94 kB / 0.518 GB, free: 16 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.09942, allocations: 15.91 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1733/0.2727, allocations: 32.34 kB / 0.518 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.273, allocations: 87.69 kB / 0.5181 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.273, allocations: 1.531 kB / 0.5181 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.273, allocations: 0 / 0.5181 GB, free: 9.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.273, allocations: 0.625 kB / 0.5181 GB, free: 9.891 MB / 346.7 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.0003938/0.2734, allocations: 396.9 kB / 0.5185 GB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2735, allocations: 9.969 kB / 0.5185 GB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.2735, allocations: 7.469 kB / 0.5185 GB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2737, allocations: 185.3 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2737, allocations: 2.469 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2737, allocations: 2.469 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2739, allocations: 69.38 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2739, allocations: 2.094 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2739, allocations: 2.281 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2739, allocations: 6.422 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.274, allocations: 29.42 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.2743, allocations: 286.1 kB / 0.5191 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.2745, allocations: 45.84 kB / 0.5191 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.2746, allocations: 17.59 kB / 0.5191 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2746, allocations: 1.141 kB / 0.5191 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2746, allocations: 40.53 kB / 0.5192 GB, free: 8.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2746, allocations: 0 / 0.5192 GB, free: 8.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005472/0.2752, allocations: 153.1 kB / 0.5193 GB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2752, allocations: 78.69 kB / 0.5194 GB, free: 8.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2753, allocations: 149.1 kB / 0.5195 GB, free: 8.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2754, allocations: 27.48 kB / 0.5196 GB, free: 8.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2754, allocations: 93.92 kB / 0.5196 GB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2754, allocations: 18.03 kB / 0.5197 GB, free: 8.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.2754, allocations: 0 / 0.5197 GB, free: 8.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.2755, allocations: 319 kB / 0.52 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.2756, allocations: 25.67 kB / 0.52 GB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.2756, allocations: 39.16 kB / 0.52 GB, free: 8.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.2757, allocations: 23.16 kB / 0.5201 GB, free: 8.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2757, allocations: 4.031 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.2759, allocations: 85.84 kB / 0.5201 GB, free: 8.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2759, allocations: 8.156 kB / 0.5201 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2759, allocations: 1.109 kB / 0.5201 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.276, allocations: 0.5 kB / 0.5201 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.276, allocations: 18.31 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.276, allocations: 4.656 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.2761, allocations: 8.125 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2761, allocations: 9.297 kB / 0.5202 GB, free: 8.168 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/0.2762, allocations: 118.1 kB / 0.5203 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2762, allocations: 8.891 kB / 0.5203 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.2764, allocations: 101.4 kB / 0.5204 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2765, allocations: 1.438 kB / 0.5204 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2765, allocations: 0 / 0.5204 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2765, allocations: 1.797 kB / 0.5204 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.2768, allocations: 360.7 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2768, allocations: 1.656 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.2769, allocations: 15.42 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2769, allocations: 1.422 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2769, allocations: 1.156 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2769, allocations: 0 / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2769, allocations: 1.375 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.2771, allocations: 191.8 kB / 0.521 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.2772, allocations: 89.17 kB / 0.521 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2772, allocations: 1.656 kB / 0.521 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.2773, allocations: 5.656 kB / 0.521 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.2773, allocations: 8.391 kB / 0.5211 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2773, allocations: 5.125 kB / 0.5211 GB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.2774, allocations: 115.7 kB / 0.5212 GB, free: 7.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2774, allocations: 0 / 0.5212 GB, free: 7.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.2777, allocations: 35.48 kB / 0.5212 GB, free: 7.391 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008812/0.2785, allocations: 497.3 kB / 0.5217 GB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2788, allocations: 58.61 kB / 0.5217 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2788, allocations: 0.625 kB / 0.5217 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.2788, allocations: 27.84 kB / 0.5218 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2791, allocations: 13.08 kB / 0.5218 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2794, allocations: 214.8 kB / 0.522 GB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2796, allocations: 0.6895 MB / 0.5227 GB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.2796, allocations: 16.2 kB / 0.5227 GB, free: 6.277 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2796, allocations: 4.938 kB / 0.5227 GB, free: 6.273 MB / 346.7 MB Notification: Performance of Templates: time 0.003458/0.2831, allocations: 1.911 MB / 0.5245 GB, free: 6.062 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches