Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 111.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 65.05 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1576, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003428/0.1611, allocations: 2.002 MB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1624, allocations: 0.6427 MB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.1627, allocations: 0 / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1629, allocations: 43.53 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1631, allocations: 43.59 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1635, allocations: 75.84 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1638, allocations: 207.2 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.164, allocations: 80.33 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1642, allocations: 83.59 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1644, allocations: 79.55 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1644, allocations: 16 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.1645, allocations: 16 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1645, allocations: 35.84 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.1646, allocations: 79.48 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1649, allocations: 191.2 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1649, allocations: 3.938 kB / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1649, allocations: 0 / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1649, allocations: 0 / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006896/0.1656, allocations: 0.4906 MB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1656, allocations: 8.031 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.1659, allocations: 40.64 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.1662, allocations: 243.8 kB / 363.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1663, allocations: 8.375 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1663, allocations: 16.38 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1666, allocations: 176.3 kB / 363.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.1666, allocations: 0 / 363.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1667, allocations: 4 kB / 363.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1667, allocations: 8 kB / 363.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1669, allocations: 87.94 kB / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.1679, allocations: 0.6449 MB / 364.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1681, allocations: 127.8 kB / 364.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1682, allocations: 58.67 kB / 364.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1683, allocations: 3.984 kB / 364.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1683, allocations: 42.5 kB / 364.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1683, allocations: 0 / 364.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005176/0.1688, allocations: 173.4 kB / 364.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1689, allocations: 110.8 kB / 364.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1691, allocations: 234.6 kB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1692, allocations: 29.7 kB / 364.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.1693, allocations: 144 kB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1693, allocations: 43.36 kB / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1694, allocations: 29.7 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1695, allocations: 342.8 kB / 365.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1696, allocations: 39.97 kB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1698, allocations: 90.84 kB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.17, allocations: 142.7 kB / 365.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1701, allocations: 0 / 365.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003533/0.1704, allocations: 185.2 kB / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1704, allocations: 8 kB / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1705, allocations: 0 / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1705, allocations: 7.938 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1707, allocations: 36.47 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1707, allocations: 4 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1708, allocations: 23.83 kB / 366 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.1708, allocations: 4.188 kB / 366 MB, free: 5.863 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001176/0.1709, allocations: 145.6 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.171, allocations: 27.72 kB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.1714, allocations: 182.8 kB / 366.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1714, allocations: 3.984 kB / 366.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1715, allocations: 4 kB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1715, allocations: 0 / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.172, allocations: 281.3 kB / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.172, allocations: 0 / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1722, allocations: 31.92 kB / 366.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1722, allocations: 4 kB / 366.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1722, allocations: 7.984 kB / 366.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1722, allocations: 7.938 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1722, allocations: 0 / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1728, allocations: 483.8 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.1728, allocations: 92.83 kB / 367.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1729, allocations: 8.062 kB / 367.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1731, allocations: 7.984 kB / 367.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.1731, allocations: 12.08 kB / 367.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1731, allocations: 4 kB / 367.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1733, allocations: 178 kB / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1733, allocations: 0 / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.1737, allocations: 32 kB / 367.5 MB, free: 4.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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.0001339/0.1738, allocations: 111.1 kB / 367.6 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1741, allocations: 115.8 kB / 367.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1741, allocations: 4.375 kB / 367.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1743, allocations: 67.84 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1747, allocations: 16.42 kB / 367.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1757, allocations: 0.6122 MB / 368.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1761, allocations: 0.7436 MB / 369.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1761, allocations: 25.53 kB / 369.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1762, allocations: 19.38 kB / 369.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.465e-06/0.1762, allocations: 0 / 369.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of Templates: time 0.004077/0.1803, allocations: 1.365 MB / 370.6 MB, free: 1.148 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches