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.001484/0.001484, allocations: 109.2 kB / 17.16 MB, free: 6.082 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.001891/0.001891, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.093/2.093, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 47.02 kB / 300.6 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1564, allocations: 49.44 MB / 350 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00496/0.1615, allocations: 1.542 MB / 351.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1627, allocations: 443 kB / 352 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1629, allocations: 0 / 352 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.509e-05/0.163, allocations: 11.88 kB / 352 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1632, allocations: 19.86 kB / 352.1 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1635, allocations: 19.97 kB / 352.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1636, allocations: 67.66 kB / 352.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1637, allocations: 7.953 kB / 352.1 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.164, allocations: 31.91 kB / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1641, allocations: 39.83 kB / 352.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.1641, allocations: 4 kB / 352.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.1642, allocations: 3.938 kB / 352.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.1642, allocations: 7.984 kB / 352.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.1643, allocations: 23.88 kB / 352.3 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1644, allocations: 39.86 kB / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1644, allocations: 0 / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1645, allocations: 0 / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1645, allocations: 0 / 352.3 MB, free: 2.379 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.0008859/0.1654, allocations: 391.4 kB / 352.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1654, allocations: 8.031 kB / 352.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1655, allocations: 16.83 kB / 352.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1657, allocations: 172.2 kB / 352.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1657, allocations: 4.375 kB / 352.9 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1657, allocations: 4.125 kB / 352.9 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1661, allocations: 88.16 kB / 353 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1661, allocations: 0 / 353 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1661, allocations: 0 / 353 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1662, allocations: 8 kB / 353 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.1665, allocations: 55.94 kB / 353 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1669, allocations: 191.5 kB / 353.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1673, allocations: 103.7 kB / 353.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1675, allocations: 54.48 kB / 353.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1675, allocations: 4 kB / 353.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1676, allocations: 34.56 kB / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1676, allocations: 0 / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007588/0.1684, allocations: 141.8 kB / 353.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.1685, allocations: 106.8 kB / 353.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1687, allocations: 130.1 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1687, allocations: 25.7 kB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.1688, allocations: 92.14 kB / 353.9 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.1689, allocations: 23.72 kB / 353.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.1689, allocations: 13.72 kB / 353.9 MB, free: 496 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1691, allocations: 322.9 kB / 354.2 MB, free: 164 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1693, allocations: 27.97 kB / 354.3 MB, free: 136 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1696, allocations: 50.55 kB / 354.3 MB, free: 76 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.17, allocations: 86.47 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.17, allocations: 0 / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004744/0.1705, allocations: 113.6 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.1705, allocations: 8.031 kB / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1705, allocations: 0 / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.1706, allocations: 8.031 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1708, allocations: 19.97 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1708, allocations: 0 / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.171, allocations: 19.88 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.171, allocations: 0 / 354.6 MB, free: 15.8 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 0.0001457/0.1712, allocations: 121.8 kB / 354.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1712, allocations: 7.938 kB / 354.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.1713, allocations: 15.86 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1713, allocations: 0 / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1713, allocations: 0 / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1713, allocations: 0 / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1715, allocations: 181.5 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1715, allocations: 0 / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1717, allocations: 23.91 kB / 354.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1717, allocations: 4 kB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1717, allocations: 4 kB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1718, allocations: 0 / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1718, allocations: 0 / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.1723, allocations: 146.7 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1724, allocations: 85 kB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.1724, allocations: 4 kB / 355.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1726, allocations: 7.984 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.1727, allocations: 7.938 kB / 355.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1727, allocations: 11.98 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1728, allocations: 98.64 kB / 355.3 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1728, allocations: 0 / 355.3 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1731, allocations: 8 kB / 355.3 MB, free: 14.99 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.0001604/0.1733, allocations: 103.2 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.1738, allocations: 67.88 kB / 355.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1738, allocations: 4 kB / 355.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.174, allocations: 40.2 kB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1743, allocations: 15.06 kB / 355.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.1752, allocations: 236.2 kB / 355.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1756, allocations: 0.6848 MB / 356.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1757, allocations: 23.36 kB / 356.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1757, allocations: 0 / 356.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.003819/0.1795, allocations: 0.8594 MB / 357.3 MB, free: 12.89 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/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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches