Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001205, allocations: 109.5 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.86 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3425, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003139/0.3457, allocations: 1.491 MB / 402.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3468, allocations: 453.1 kB / 402.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.3469, allocations: 0 / 402.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.331e-05/0.347, allocations: 11.92 kB / 402.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3472, allocations: 19.8 kB / 402.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3474, allocations: 23.97 kB / 402.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3476, allocations: 71.66 kB / 402.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.3477, allocations: 7.984 kB / 402.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3479, allocations: 35.84 kB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.348, allocations: 31.91 kB / 402.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.348, allocations: 11.94 kB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.348, allocations: 4 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3481, allocations: 11.92 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.3481, allocations: 31.84 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3483, allocations: 51.81 kB / 403 MB, free: 6.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3483, allocations: 0 / 403 MB, free: 6.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3483, allocations: 0 / 403 MB, free: 6.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3483, allocations: 0 / 403 MB, free: 6.625 MB / 318.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.0008416/0.3492, allocations: 388.3 kB / 403.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3493, allocations: 8.031 kB / 403.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.3493, allocations: 12.83 kB / 403.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3495, allocations: 178.9 kB / 403.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3495, allocations: 384 / 403.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3495, allocations: 7.938 kB / 403.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.3498, allocations: 92.16 kB / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3498, allocations: 0 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3498, allocations: 0 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3498, allocations: 3.984 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3501, allocations: 59.94 kB / 403.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.3503, allocations: 195.3 kB / 403.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3506, allocations: 103.7 kB / 404 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3507, allocations: 50.55 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3508, allocations: 4 kB / 404 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3508, allocations: 30.56 kB / 404.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3508, allocations: 3.938 kB / 404.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004947/0.3513, allocations: 141.6 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3514, allocations: 106.8 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3515, allocations: 130.1 kB / 404.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3515, allocations: 25.7 kB / 404.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.3516, allocations: 88.14 kB / 404.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.3516, allocations: 16.08 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3517, allocations: 17.72 kB / 404.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3518, allocations: 322.8 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3519, allocations: 27.97 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3521, allocations: 46.55 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.3523, allocations: 86.45 kB / 405.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3523, allocations: 0 / 405.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003502/0.3527, allocations: 117.4 kB / 405.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3527, allocations: 14.44 kB / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3527, allocations: 0 / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3527, allocations: 0 / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3529, allocations: 19.97 kB / 405.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3529, allocations: 4 kB / 405.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.353, allocations: 7.984 kB / 405.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.353, allocations: 8.094 kB / 405.2 MB, free: 4.07 MB / 318.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 8.976e-05/0.3531, allocations: 121.7 kB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3531, allocations: 7.906 kB / 405.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.3532, allocations: 11.86 kB / 405.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3532, allocations: 4 kB / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3532, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3532, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3533, allocations: 185.5 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3534, allocations: 0 / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3535, allocations: 23.97 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3535, allocations: 0 / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3535, allocations: 8 kB / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3535, allocations: 0 / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3535, allocations: 0 / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3538, allocations: 146.6 kB / 405.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3539, allocations: 92.94 kB / 405.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3539, allocations: 3.938 kB / 405.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.354, allocations: 11.98 kB / 405.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.3541, allocations: 4 kB / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3541, allocations: 3.984 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.3541, allocations: 106.4 kB / 405.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3541, allocations: 0 / 405.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.3543, allocations: 12 kB / 405.9 MB, free: 3.238 MB / 318.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.000102/0.3544, allocations: 99.72 kB / 406 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3548, allocations: 72 kB / 406.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3548, allocations: 4.062 kB / 406.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3549, allocations: 39.95 kB / 406.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3551, allocations: 15.88 kB / 406.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.3557, allocations: 181.1 kB / 406.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.356, allocations: 0.6922 MB / 407 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.356, allocations: 8.125 kB / 407 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3561, allocations: 11.42 kB / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3561, allocations: 0 / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Templates: time 0.002993/0.3591, allocations: 0.6105 MB / 407.7 MB, free: 1.449 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches