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.00141/0.00141, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.001658/0.001658, allocations: 192 kB / 18.62 MB, free: 4.434 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.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 49.25 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004185/0.135, allocations: 1.975 MB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1364, allocations: 0.5687 MB / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1366, allocations: 7.938 kB / 354 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1369, allocations: 39.59 kB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1371, allocations: 39.59 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1375, allocations: 67.86 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1378, allocations: 207.2 kB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1381, allocations: 80.2 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1383, allocations: 67.7 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1385, allocations: 83.5 kB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.1385, allocations: 19.98 kB / 354.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.1386, allocations: 16 kB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1386, allocations: 27.86 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1388, allocations: 79.48 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.1391, allocations: 179.2 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1391, allocations: 0 / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1391, allocations: 0 / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1391, allocations: 0 / 354.9 MB, free: 228 kB / 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.0009625/0.1401, allocations: 498.4 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1401, allocations: 12.03 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.1402, allocations: 24.66 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1406, allocations: 231.9 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1406, allocations: 12.38 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.1407, allocations: 20.03 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1411, allocations: 164.7 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1411, allocations: 0 / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1411, allocations: 12 kB / 355.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1411, allocations: 4 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1414, allocations: 87.88 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1424, allocations: 0.645 MB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1427, allocations: 123.8 kB / 356.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1428, allocations: 54.67 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1428, allocations: 4 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1428, allocations: 38.56 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1429, allocations: 0 / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004648/0.1433, allocations: 181.2 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1434, allocations: 106.8 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1436, allocations: 241.1 kB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1436, allocations: 25.7 kB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1437, allocations: 136 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1438, allocations: 47.36 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1438, allocations: 29.7 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.144, allocations: 338.8 kB / 357.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.1441, allocations: 35.98 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1442, allocations: 90.84 kB / 358 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.1445, allocations: 150.7 kB / 358.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1445, allocations: 0 / 358.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003167/0.1448, allocations: 185.4 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1448, allocations: 4 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1449, allocations: 7.984 kB / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1449, allocations: 0 / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.145, allocations: 39.91 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.1451, allocations: 4 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1452, allocations: 15.84 kB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1452, allocations: 8 kB / 358.4 MB, free: 12.38 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.0001352/0.1453, allocations: 141.6 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.1454, allocations: 27.69 kB / 358.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.1458, allocations: 182.9 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1458, allocations: 4 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1458, allocations: 0.5625 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1458, allocations: 0 / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.1463, allocations: 273.4 kB / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1463, allocations: 0 / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1465, allocations: 43.91 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1465, allocations: 4 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1465, allocations: 7.938 kB / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1465, allocations: 4 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1465, allocations: 0 / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.1471, allocations: 472.8 kB / 359.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.1472, allocations: 104.8 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1472, allocations: 8 kB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1474, allocations: 4 kB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1475, allocations: 19.91 kB / 359.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1475, allocations: 4 kB / 359.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1477, allocations: 172.4 kB / 359.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1477, allocations: 0 / 359.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.148, allocations: 36 kB / 359.9 MB, free: 10.81 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.00018/0.1482, allocations: 99.25 kB / 360 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1486, allocations: 118.5 kB / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1486, allocations: 3.938 kB / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1487, allocations: 64.28 kB / 360.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1492, allocations: 24.94 kB / 360.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1503, allocations: 0.6119 MB / 360.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1506, allocations: 0.7436 MB / 361.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.233e-05/0.1507, allocations: 21.53 kB / 361.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1508, allocations: 23.42 kB / 361.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1508, allocations: 0 / 361.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of Templates: time 0.004088/0.1549, allocations: 1.336 MB / 363 MB, free: 7.711 MB / 302.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 -s cvode -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/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_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches