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.000768/0.000768, allocations: 92.86 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009683/0.0009683, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003549, allocations: 8 kB / 307.7 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 51.52 MB / 359.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002512/0.1469, allocations: 1.705 MB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1482, allocations: 0.6195 MB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1483, allocations: 7.938 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1485, allocations: 35.66 kB / 361.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.1486, allocations: 23.73 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1489, allocations: 67.92 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1491, allocations: 199.2 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1494, allocations: 80.27 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1496, allocations: 59.73 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1497, allocations: 71.5 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1497, allocations: 4 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.1498, allocations: 4 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.1498, allocations: 35.78 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.1499, allocations: 97.19 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1501, allocations: 155.6 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.1502, allocations: 3.984 kB / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1502, allocations: 0 / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1502, allocations: 4 kB / 362.4 MB, free: 9.887 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.0006883/0.1509, allocations: 470.5 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1509, allocations: 8.031 kB / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.1512, allocations: 48.64 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1515, allocations: 243.8 kB / 363.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1515, allocations: 12.38 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1516, allocations: 20.27 kB / 363.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.1519, allocations: 168.5 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.152, allocations: 0 / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.152, allocations: 12 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.152, allocations: 0 / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.1522, allocations: 95.88 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.1532, allocations: 0.6333 MB / 364.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1535, allocations: 139.8 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1536, allocations: 58.67 kB / 364.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1537, allocations: 7.984 kB / 364.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1537, allocations: 34.56 kB / 364.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1537, allocations: 0 / 364.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005211/0.1542, allocations: 193.2 kB / 364.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1543, allocations: 106.9 kB / 364.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1546, allocations: 238.6 kB / 364.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1546, allocations: 29.7 kB / 364.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1548, allocations: 140 kB / 365 MB, free: 7.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.1548, allocations: 43.36 kB / 365.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1549, allocations: 17.72 kB / 365.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1551, allocations: 330.8 kB / 365.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1552, allocations: 51.97 kB / 365.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1554, allocations: 90.84 kB / 365.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.1557, allocations: 158.7 kB / 365.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1557, allocations: 0 / 365.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004096/0.1562, allocations: 193.6 kB / 365.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1562, allocations: 4 kB / 365.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1562, allocations: 8.109 kB / 365.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1562, allocations: 8 kB / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1564, allocations: 39.98 kB / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.1564, allocations: 4 kB / 366 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1565, allocations: 23.83 kB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1566, allocations: 7.938 kB / 366 MB, free: 5.988 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.0001492/0.1567, allocations: 137.6 kB / 366.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.1568, allocations: 27.72 kB / 366.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.1572, allocations: 198.9 kB / 366.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1573, allocations: 96 / 366.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1573, allocations: 4 kB / 366.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1573, allocations: 3.984 kB / 366.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1577, allocations: 281.3 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1578, allocations: 0 / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1579, allocations: 39.91 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.158, allocations: 0 / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.158, allocations: 8 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.158, allocations: 0 / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.158, allocations: 0 / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1586, allocations: 487.1 kB / 367.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.1587, allocations: 96.89 kB / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1587, allocations: 11.98 kB / 367.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1589, allocations: 8 kB / 367.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.159, allocations: 15.92 kB / 367.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.159, allocations: 11.98 kB / 367.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.1592, allocations: 170 kB / 367.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1592, allocations: 0 / 367.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1596, allocations: 32 kB / 367.5 MB, free: 4.387 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.0001446/0.1597, allocations: 103.7 kB / 367.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.1601, allocations: 131.7 kB / 367.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1601, allocations: 0 / 367.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1602, allocations: 68.28 kB / 367.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1607, allocations: 24.42 kB / 367.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1619, allocations: 0.7512 MB / 368.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1622, allocations: 0.7439 MB / 369.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.1623, allocations: 21.53 kB / 369.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.1624, allocations: 19.42 kB / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1624, allocations: 0 / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of Templates: time 0.004347/0.1667, allocations: 1.237 MB / 370.6 MB, free: 1.23 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 -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/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_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches