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.001473/0.001474, allocations: 92.84 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 204.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002789, allocations: 4 kB / 306.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002602/0.133, allocations: 1.62 MB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1342, allocations: 0.573 MB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1344, allocations: 4 kB / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.1344, allocations: 27.72 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1346, allocations: 51.84 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1349, allocations: 47.88 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1352, allocations: 139.6 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1354, allocations: 56.34 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1356, allocations: 59.72 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1357, allocations: 59.64 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1357, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.1358, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.1358, allocations: 27.84 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.1359, allocations: 53.58 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.136, allocations: 116 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.136, allocations: 4 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1361, allocations: 0 / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1361, allocations: 0 / 360.9 MB, free: 11.3 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.0007455/0.1368, allocations: 465 kB / 361.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.1369, allocations: 15.97 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.1372, allocations: 51.69 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1374, allocations: 222.7 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1375, allocations: 8 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.1375, allocations: 23.95 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.1378, allocations: 160.2 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1379, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1379, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1379, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1381, allocations: 99.88 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.1391, allocations: 0.6373 MB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1393, allocations: 139.8 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1393, allocations: 3.984 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1394, allocations: 34.56 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1394, allocations: 0 / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004751/0.1399, allocations: 189.8 kB / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1399, allocations: 110.8 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1402, allocations: 229 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1402, allocations: 29.83 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.1403, allocations: 140 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.1403, allocations: 43.36 kB / 363.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.1404, allocations: 0 / 363.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1405, allocations: 338.8 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1406, allocations: 35.98 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1407, allocations: 98.83 kB / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1409, allocations: 63.98 kB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1409, allocations: 3.938 kB / 364 MB, free: 7.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003261/0.1412, allocations: 193.3 kB / 364.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1413, allocations: 4 kB / 364.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1413, allocations: 0 / 364.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1413, allocations: 4 kB / 364.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1414, allocations: 39.92 kB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1415, allocations: 7.984 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1416, allocations: 15.84 kB / 364.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1416, allocations: 4 kB / 364.2 MB, free: 7.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.1417, allocations: 138.3 kB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.1418, allocations: 35.59 kB / 364.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.1422, allocations: 186.8 kB / 364.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1422, allocations: 8 kB / 364.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1422, allocations: 0 / 364.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1422, allocations: 4 kB / 364.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1426, allocations: 265.4 kB / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1427, allocations: 0 / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1428, allocations: 39.91 kB / 364.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1428, allocations: 4 kB / 364.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1429, allocations: 8.047 kB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1429, allocations: 4 kB / 364.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1429, allocations: 0 / 364.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.1434, allocations: 0.5048 MB / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.1435, allocations: 108.8 kB / 365.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1436, allocations: 0 / 365.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1437, allocations: 12 kB / 365.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1438, allocations: 7.984 kB / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1438, allocations: 11.98 kB / 365.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.144, allocations: 172.5 kB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1443, allocations: 28 kB / 365.8 MB, free: 6.023 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 (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.0001155/0.1444, allocations: 103.2 kB / 365.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.1447, allocations: 122.7 kB / 366 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1447, allocations: 0 / 366 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1449, allocations: 63.91 kB / 366 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1452, allocations: 20.33 kB / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1464, allocations: 0.7357 MB / 366.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1468, allocations: 0.7517 MB / 367.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1469, allocations: 17.53 kB / 367.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.147, allocations: 27.36 kB / 367.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.147, allocations: 0 / 367.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of Templates: time 0.004616/0.1516, allocations: 1.179 MB / 368.8 MB, free: 2.945 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches