Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001189, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 76.28 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5125, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003355/0.5159, allocations: 1.607 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.517, allocations: 0.5363 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.5171, allocations: 5.281 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.5174, allocations: 70.45 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.5178, allocations: 105.5 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.5183, allocations: 94.59 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.5186, allocations: 78.36 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.5187, allocations: 21.02 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.5188, allocations: 33.94 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.519, allocations: 51.66 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.519, allocations: 3.312 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.5191, allocations: 40.81 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.5192, allocations: 18.89 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.5193, allocations: 34.23 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.5195, allocations: 100.3 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5196, allocations: 7.938 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5196, allocations: 0 / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5196, allocations: 1.281 kB / 0.5338 GB, free: 11.55 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.0006068/0.5202, allocations: 426 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5202, allocations: 9.031 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.5203, allocations: 13.47 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.5205, allocations: 199.9 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.5205, allocations: 1.719 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.5206, allocations: 2.719 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5208, allocations: 58.5 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5208, allocations: 0 / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5208, allocations: 1.062 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5208, allocations: 1.125 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.5209, allocations: 30.81 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.5214, allocations: 298 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5216, allocations: 43.69 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.5216, allocations: 27.47 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5217, allocations: 5.359 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.5217, allocations: 31.72 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.5217, allocations: 0 / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00095/0.5227, allocations: 226 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.5227, allocations: 52.78 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.5229, allocations: 203.9 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.523, allocations: 29.7 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.523, allocations: 105.6 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.5231, allocations: 30.48 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.5231, allocations: 24.59 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5233, allocations: 325.5 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.5234, allocations: 25.73 kB / 0.5358 GB, free: 9.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.5234, allocations: 23.11 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.5236, allocations: 67.58 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5236, allocations: 0 / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002132/0.5239, allocations: 103.9 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5239, allocations: 5.594 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5239, allocations: 0 / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5239, allocations: 1 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.524, allocations: 17.73 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.524, allocations: 0 / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.5241, allocations: 7.25 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.5241, allocations: 6.266 kB / 0.5361 GB, free: 9.41 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.0001007/0.5242, allocations: 131.8 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.5242, allocations: 12.41 kB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.5246, allocations: 116.2 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5246, allocations: 1.25 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5246, allocations: 0 / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5246, allocations: 3.938 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.5252, allocations: 406.6 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5252, allocations: 1.156 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.5252, allocations: 21.33 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5253, allocations: 4.625 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5253, allocations: 1.812 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5253, allocations: 0.875 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5253, allocations: 1.094 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5256, allocations: 212.1 kB / 0.5369 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.5256, allocations: 95.64 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.5257, allocations: 5.25 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.5257, allocations: 3.781 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.5258, allocations: 7.109 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.5258, allocations: 2.188 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.526, allocations: 163.3 kB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.526, allocations: 0 / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.5262, allocations: 21.31 kB / 0.5372 GB, free: 8.363 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.001183/0.5274, allocations: 450.1 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.5277, allocations: 66.5 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5277, allocations: 1.125 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.5278, allocations: 37.11 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.5282, allocations: 21.88 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.5288, allocations: 251 kB / 0.538 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.5291, allocations: 0.7058 MB / 0.5387 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.5292, allocations: 16.11 kB / 0.5387 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.5292, allocations: 18.88 kB / 0.5387 GB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 1.71e-07/0.5292, allocations: 0 / 0.5387 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Templates: time 0.004735/0.534, allocations: 1.349 MB / 0.54 GB, free: 6.457 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches