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.001031/0.001031, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 62.58 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004046/0.1226, allocations: 1.999 MB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.124, allocations: 0.6505 MB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.1242, allocations: 3.938 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1245, allocations: 43.53 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1246, allocations: 39.59 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.125, allocations: 79.84 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1253, allocations: 207.2 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1255, allocations: 80.33 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.1258, allocations: 71.66 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.1261, allocations: 79.5 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.1261, allocations: 23.94 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.1262, allocations: 12 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1263, allocations: 39.84 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.012e-05/0.1264, allocations: 79.48 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1266, allocations: 175.6 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1266, allocations: 0 / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1266, allocations: 0 / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1266, allocations: 0 / 361 MB, free: 10.54 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.0007813/0.1274, allocations: 0.5022 MB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1275, allocations: 8.031 kB / 361.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.1277, allocations: 44.62 kB / 361.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1281, allocations: 235.8 kB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1281, allocations: 12.36 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1281, allocations: 12.38 kB / 361.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1285, allocations: 172.4 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1285, allocations: 0 / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1285, allocations: 4 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1285, allocations: 4 kB / 362 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.1287, allocations: 91.88 kB / 362.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1298, allocations: 0.6372 MB / 362.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1301, allocations: 127.8 kB / 362.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1302, allocations: 58.61 kB / 362.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1303, allocations: 11.98 kB / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1303, allocations: 30.56 kB / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.1303, allocations: 0 / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005171/0.1308, allocations: 181.4 kB / 363.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1309, allocations: 106.8 kB / 363.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1311, allocations: 238.6 kB / 363.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1312, allocations: 25.7 kB / 363.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1313, allocations: 148 kB / 363.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.1313, allocations: 43.36 kB / 363.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.1314, allocations: 29.7 kB / 363.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1316, allocations: 338.8 kB / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1317, allocations: 39.97 kB / 364.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1318, allocations: 89.81 kB / 364.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.1322, allocations: 151.2 kB / 364.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1322, allocations: 0 / 364.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004209/0.1327, allocations: 189.1 kB / 364.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1327, allocations: 8 kB / 364.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1327, allocations: 0 / 364.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1327, allocations: 4 kB / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.1329, allocations: 35.97 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1329, allocations: 7.938 kB / 364.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.133, allocations: 27.95 kB / 364.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1331, allocations: 11.94 kB / 364.6 MB, free: 6.645 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.0001245/0.1332, allocations: 137.7 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.1333, allocations: 23.72 kB / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1337, allocations: 186.8 kB / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1337, allocations: 0 / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.1338, allocations: 8 kB / 364.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1338, allocations: 0 / 364.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.1343, allocations: 277.3 kB / 365.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1343, allocations: 0 / 365.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1345, allocations: 31.98 kB / 365.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1345, allocations: 4 kB / 365.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1345, allocations: 3.984 kB / 365.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1345, allocations: 4 kB / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1345, allocations: 0 / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.1351, allocations: 480.9 kB / 365.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1352, allocations: 96.89 kB / 365.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1352, allocations: 7.984 kB / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1354, allocations: 8 kB / 365.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1354, allocations: 11.98 kB / 365.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1355, allocations: 8 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1356, allocations: 174 kB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 0 / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.136, allocations: 32 kB / 366.1 MB, free: 5.078 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.0001359/0.1361, allocations: 107.1 kB / 366.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.1365, allocations: 124.1 kB / 366.3 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1365, allocations: 4 kB / 366.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1366, allocations: 59.91 kB / 366.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.137, allocations: 16.56 kB / 366.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1383, allocations: 0.6278 MB / 367 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1387, allocations: 0.7436 MB / 367.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.1388, allocations: 21.53 kB / 367.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.1388, allocations: 19.42 kB / 367.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1388, allocations: 4 kB / 367.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of Templates: time 0.004794/0.1436, allocations: 1.359 MB / 369.1 MB, free: 1.938 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