Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009448, allocations: 85.94 kB / 16.31 MB, free: 6.449 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.0009915/0.0009915, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.56/1.56, allocations: 223.3 MB / 241.2 MB, free: 5.262 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003341, allocations: 6.75 kB / 300.8 MB, free: 5.531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 50.43 MB / 351.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003383/0.1559, allocations: 1.63 MB / 352.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1575, allocations: 0.5301 MB / 353.4 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.1577, allocations: 0 / 353.4 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.158, allocations: 31.66 kB / 353.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1581, allocations: 31.72 kB / 353.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1585, allocations: 51.89 kB / 353.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1588, allocations: 175.3 kB / 353.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1591, allocations: 56.16 kB / 353.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1593, allocations: 59.72 kB / 353.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.1595, allocations: 59.64 kB / 353.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1595, allocations: 4 kB / 353.8 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.1596, allocations: 4 kB / 353.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1596, allocations: 27.84 kB / 353.9 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.1597, allocations: 53.58 kB / 353.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1598, allocations: 111.7 kB / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1598, allocations: 0 / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1598, allocations: 0 / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1599, allocations: 0 / 354 MB, free: 8.586 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007582/0.1606, allocations: 466.5 kB / 354.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1607, allocations: 8.031 kB / 354.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.1608, allocations: 31.67 kB / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1611, allocations: 230.6 kB / 354.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1612, allocations: 15.94 kB / 354.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.1612, allocations: 12 kB / 354.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.1617, allocations: 176.6 kB / 355 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1617, allocations: 0 / 355 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1618, allocations: 8 kB / 355 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1618, allocations: 3.953 kB / 355 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1622, allocations: 95.95 kB / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1632, allocations: 0.641 MB / 355.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1635, allocations: 135.8 kB / 355.8 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1636, allocations: 62.69 kB / 355.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1637, allocations: 3.938 kB / 355.9 MB, free: 6.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1637, allocations: 38.5 kB / 355.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1637, allocations: 0 / 355.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004944/0.1642, allocations: 189.4 kB / 356.1 MB, free: 6.285 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.1643, allocations: 106.8 kB / 356.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1645, allocations: 233 kB / 356.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1646, allocations: 25.7 kB / 356.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.1647, allocations: 136 kB / 356.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.1647, allocations: 51.33 kB / 356.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.1647, allocations: 7.938 kB / 356.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1649, allocations: 330.8 kB / 357 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1651, allocations: 47.97 kB / 357 MB, free: 5.312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.1654, allocations: 97.17 kB / 357.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1656, allocations: 55.98 kB / 357.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1656, allocations: 0 / 357.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005675/0.1662, allocations: 189.2 kB / 357.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1662, allocations: 4 kB / 357.4 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1662, allocations: 8.188 kB / 357.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1663, allocations: 0 / 357.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1666, allocations: 39.92 kB / 357.4 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.1666, allocations: 11.94 kB / 357.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1668, allocations: 16.41 kB / 357.5 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1669, allocations: 12 kB / 357.5 MB, free: 4.859 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.1671, allocations: 129.8 kB / 357.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1672, allocations: 19.81 kB / 357.6 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.1678, allocations: 182.8 kB / 357.8 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1678, allocations: 7.938 kB / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.1678, allocations: 4 kB / 357.8 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1679, allocations: 7.953 kB / 357.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.1686, allocations: 273.4 kB / 358.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1686, allocations: 4 kB / 358.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.1689, allocations: 39.91 kB / 358.1 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.169, allocations: 4 kB / 358.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.169, allocations: 0 / 358.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.169, allocations: 4 kB / 358.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.169, allocations: 0 / 358.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.1697, allocations: 482.7 kB / 358.6 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1698, allocations: 100.8 kB / 358.7 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.1698, allocations: 4.062 kB / 358.7 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.1702, allocations: 16 kB / 358.7 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.1703, allocations: 15.91 kB / 358.7 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1703, allocations: 7.984 kB / 358.7 MB, free: 3.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1705, allocations: 176.4 kB / 358.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1705, allocations: 0 / 358.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006506/0.1712, allocations: 35.86 kB / 359 MB, free: 3.281 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.1714, allocations: 107.2 kB / 359.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004512/0.1718, allocations: 115.8 kB / 359.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1719, allocations: 0 / 359.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1721, allocations: 72.59 kB / 359.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.1728, allocations: 18.78 kB / 359.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1744, allocations: 0.7318 MB / 360 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.1749, allocations: 0.7439 MB / 360.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1751, allocations: 25.52 kB / 360.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.1752, allocations: 15.44 kB / 360.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1752, allocations: 0 / 360.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of Templates: time 0.006096/0.1813, allocations: 1.206 MB / 362 MB, free: 196 kB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches