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.0008245/0.0008246, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0009062/0.0009062, allocations: 177 kB / 17.56 MB, free: 6.18 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.451/1.451, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 8.812 kB / 301.4 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 50.42 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002188/0.1664, allocations: 1.202 MB / 353 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.1672, allocations: 443.6 kB / 353.5 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.1673, allocations: 4 kB / 353.5 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1673, allocations: 15.86 kB / 353.5 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1674, allocations: 11.86 kB / 353.5 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1676, allocations: 15.98 kB / 353.5 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1677, allocations: 63.78 kB / 353.6 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.1678, allocations: 4 kB / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.1679, allocations: 43.77 kB / 353.6 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.168, allocations: 27.91 kB / 353.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1681, allocations: 8 kB / 353.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.1681, allocations: 0 / 353.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.1681, allocations: 19.91 kB / 353.7 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.1682, allocations: 49.56 kB / 353.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1683, allocations: 43.81 kB / 353.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1683, allocations: 0 / 353.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1683, allocations: 0 / 353.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1683, allocations: 0 / 353.8 MB, free: 1.773 MB / 286.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.0007669/0.1691, allocations: 395.5 kB / 354.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1692, allocations: 8.031 kB / 354.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1692, allocations: 8.844 kB / 354.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1694, allocations: 184.1 kB / 354.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1694, allocations: 384 / 354.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1694, allocations: 8.125 kB / 354.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1697, allocations: 96.22 kB / 354.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1697, allocations: 0 / 354.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1697, allocations: 0 / 354.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1697, allocations: 0 / 354.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.17, allocations: 79.88 kB / 354.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.1703, allocations: 191.5 kB / 354.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1706, allocations: 111.8 kB / 354.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1707, allocations: 62.53 kB / 354.9 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1708, allocations: 4 kB / 354.9 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1708, allocations: 34.5 kB / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1708, allocations: 0 / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005936/0.1714, allocations: 169.5 kB / 355.1 MB, free: 248 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1715, allocations: 103.1 kB / 355.2 MB, free: 120 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1716, allocations: 134.1 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1717, allocations: 25.7 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.1717, allocations: 88.14 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1718, allocations: 19.69 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1718, allocations: 9.719 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1719, allocations: 322.8 kB / 355.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1721, allocations: 39.97 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1723, allocations: 62.47 kB / 355.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1726, allocations: 106.5 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1726, allocations: 0 / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003465/0.173, allocations: 129.4 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.173, allocations: 4 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.173, allocations: 4 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1731, allocations: 3.984 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1732, allocations: 23.92 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1732, allocations: 0 / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1733, allocations: 24.05 kB / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.1734, allocations: 0 / 356.2 MB, free: 15.08 MB / 302.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 9.281e-05/0.1735, allocations: 117.8 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.1735, allocations: 11.84 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.1735, allocations: 11.88 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1735, allocations: 4 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1736, allocations: 0 / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1736, allocations: 4 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1737, allocations: 181.6 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1737, allocations: 0 / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1738, allocations: 23.97 kB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1739, allocations: 4 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1739, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1739, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1739, allocations: 7.938 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.1743, allocations: 162.6 kB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.1743, allocations: 89.02 kB / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1744, allocations: 0 / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.1745, allocations: 15.98 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1745, allocations: 7.984 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1745, allocations: 0 / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.1746, allocations: 106.4 kB / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1746, allocations: 0 / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.1748, allocations: 15.94 kB / 356.9 MB, free: 14.23 MB / 302.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.0001152/0.1749, allocations: 103.1 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.1753, allocations: 87.92 kB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1753, allocations: 0 / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1755, allocations: 56.22 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.1757, allocations: 3.938 kB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.1763, allocations: 220.2 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1766, allocations: 0.6848 MB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.1767, allocations: 7.938 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1767, allocations: 11.42 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1767, allocations: 0 / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of Templates: time 0.002966/0.1797, allocations: 0.5016 MB / 358.6 MB, free: 12.5 MB / 302.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