Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, 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.001266/0.001266, 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.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 79.81 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4187, allocations: 62.43 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003234/0.422, allocations: 1.617 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4231, allocations: 0.5483 MB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.4232, allocations: 1.906 kB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.4236, allocations: 126 kB / 0.5333 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.424, allocations: 131.1 kB / 0.5334 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.4243, allocations: 110.9 kB / 0.5335 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.4246, allocations: 101.1 kB / 0.5336 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4247, allocations: 21.61 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.4248, allocations: 41.89 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.4249, allocations: 82.53 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.425, allocations: 2.75 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4251, allocations: 44.86 kB / 0.5338 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.4251, allocations: 32.23 kB / 0.5338 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.4252, allocations: 42.53 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4254, allocations: 127.6 kB / 0.534 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4255, allocations: 0 / 0.534 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4255, allocations: 1.375 kB / 0.534 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4255, allocations: 0 / 0.534 GB, free: 11.67 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.0005928/0.4261, allocations: 438.9 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4261, allocations: 9.625 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.4262, allocations: 14.25 kB / 0.5344 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.4264, allocations: 210.9 kB / 0.5346 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.4264, allocations: 1.75 kB / 0.5346 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.4265, allocations: 7.125 kB / 0.5346 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4266, allocations: 62.11 kB / 0.5347 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4266, allocations: 5.312 kB / 0.5347 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4267, allocations: 0 / 0.5347 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4267, allocations: 1.375 kB / 0.5347 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4268, allocations: 27.41 kB / 0.5347 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.4272, allocations: 308.3 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4274, allocations: 52 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.4274, allocations: 20.53 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4275, allocations: 1.281 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4275, allocations: 31.97 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4275, allocations: 0 / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009889/0.4285, allocations: 256.1 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4286, allocations: 52.72 kB / 0.5354 GB, free: 10.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.4289, allocations: 278.8 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4289, allocations: 26.92 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.429, allocations: 114.8 kB / 0.5358 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.4291, allocations: 30.97 kB / 0.5358 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.4291, allocations: 24.48 kB / 0.5358 GB, free: 9.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4292, allocations: 327.5 kB / 0.5362 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.4293, allocations: 28.67 kB / 0.5362 GB, free: 9.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.4294, allocations: 29.12 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4296, allocations: 73.14 kB / 0.5363 GB, free: 9.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4296, allocations: 5.219 kB / 0.5363 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002379/0.4299, allocations: 122 kB / 0.5364 GB, free: 9.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4299, allocations: 8.5 kB / 0.5364 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4299, allocations: 1.188 kB / 0.5364 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4299, allocations: 0 / 0.5364 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4301, allocations: 18.58 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4301, allocations: 0 / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.4302, allocations: 11.12 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.4302, allocations: 10.38 kB / 0.5364 GB, free: 9.434 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 0.0001338/0.4303, allocations: 134.5 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.4304, allocations: 10.25 kB / 0.5366 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.4307, allocations: 140.7 kB / 0.5367 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4307, allocations: 1.062 kB / 0.5367 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4307, allocations: 0 / 0.5367 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4307, allocations: 4.938 kB / 0.5367 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.4313, allocations: 432.7 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4313, allocations: 0 / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.4314, allocations: 21.92 kB / 0.5372 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4314, allocations: 4.969 kB / 0.5372 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4314, allocations: 1.219 kB / 0.5372 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4314, allocations: 5.156 kB / 0.5372 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4314, allocations: 1.156 kB / 0.5372 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.4318, allocations: 217.4 kB / 0.5374 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.4319, allocations: 93.39 kB / 0.5375 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4319, allocations: 5.219 kB / 0.5375 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.432, allocations: 2.656 kB / 0.5375 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.432, allocations: 12.02 kB / 0.5375 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.432, allocations: 10.53 kB / 0.5375 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4322, allocations: 212.9 kB / 0.5377 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4322, allocations: 0 / 0.5377 GB, free: 8.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4325, allocations: 18.88 kB / 0.5377 GB, free: 8.348 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.001044/0.4335, allocations: 455.4 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4338, allocations: 74.98 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4338, allocations: 0.9688 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.4339, allocations: 39.41 kB / 0.5383 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.4343, allocations: 22.88 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.4349, allocations: 327.6 kB / 0.5386 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4353, allocations: 0.7252 MB / 0.5393 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.4353, allocations: 24.42 kB / 0.5393 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4354, allocations: 13.28 kB / 0.5393 GB, free: 7.082 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4354, allocations: 0 / 0.5393 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Templates: time 0.004205/0.4396, allocations: 1.442 MB / 0.5407 GB, free: 6.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches