Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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) 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(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002507/0.002507, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.481/2.481, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4426, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.004917/0.4476, allocations: 1.505 MB / 411.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4493, allocations: 0.5011 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.4495, allocations: 0 / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.4496, allocations: 11.86 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.4498, allocations: 15.86 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.4502, allocations: 35.89 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.4505, allocations: 75.64 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.4506, allocations: 8.188 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.451, allocations: 43.84 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.4511, allocations: 35.83 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.4512, allocations: 4 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.4513, allocations: 12 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.4513, allocations: 11.98 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.4514, allocations: 31.8 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4517, allocations: 59.8 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4517, allocations: 0 / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4517, allocations: 0 / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4517, allocations: 4 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001066/0.4528, allocations: 392.2 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.4529, allocations: 8.031 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.4535, allocations: 32.81 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.4539, allocations: 188.2 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.454, allocations: 4.375 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.454, allocations: 384 / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.4545, allocations: 96.28 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4545, allocations: 0 / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4546, allocations: 0 / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4546, allocations: 0 / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.4552, allocations: 67.88 kB / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.4555, allocations: 187.4 kB / 413.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.4561, allocations: 99.75 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.4564, allocations: 46.61 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4565, allocations: 0 / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.4565, allocations: 46.5 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.4566, allocations: 0 / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.001059/0.4576, allocations: 141.4 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.4577, allocations: 107.1 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.458, allocations: 136.6 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.458, allocations: 25.7 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.4581, allocations: 96.12 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.4582, allocations: 7.812 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.4583, allocations: 21.7 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003261/0.4587, allocations: 318.8 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.4589, allocations: 31.97 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.4592, allocations: 50.53 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.4597, allocations: 82.47 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4598, allocations: 3.984 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006336/0.4604, allocations: 109.4 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4605, allocations: 7.938 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4605, allocations: 3.984 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.4605, allocations: 8.094 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4608, allocations: 15.98 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4608, allocations: 0 / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.461, allocations: 11.98 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4611, allocations: 0 / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001483/0.4612, allocations: 125.7 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4613, allocations: 11.84 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.4613, allocations: 15.92 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4614, allocations: 7.984 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4614, allocations: 0 / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4614, allocations: 0 / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.4617, allocations: 185.6 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4617, allocations: 3.938 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.4619, allocations: 19.97 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.4619, allocations: 4 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.462, allocations: 0 / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.462, allocations: 0 / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.462, allocations: 0 / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.4626, allocations: 150.6 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.4627, allocations: 84.95 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.4628, allocations: 8 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.463, allocations: 11.98 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.463, allocations: 7.984 kB / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4631, allocations: 4 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4632, allocations: 102.4 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4632, allocations: 0 / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00034/0.4635, allocations: 8 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001549/0.4637, allocations: 99.19 kB / 415.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005762/0.4643, allocations: 79.86 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4643, allocations: 0 / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.4647, allocations: 35.91 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.465, allocations: 8.312 kB / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.4659, allocations: 222.7 kB / 415.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.4663, allocations: 0.6885 MB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.4665, allocations: 15.38 kB / 416.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4665, allocations: 4 kB / 416.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004405/0.4709, allocations: 0.9158 MB / 417.4 MB, free: 9.68 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches