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.001072/0.001073, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.2 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1377, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003433/0.1412, allocations: 2.003 MB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1424, allocations: 0.6389 MB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1425, allocations: 7.938 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1427, allocations: 43.53 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.1428, allocations: 31.66 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1431, allocations: 87.78 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1434, allocations: 211.2 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1436, allocations: 80.33 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1438, allocations: 75.64 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1439, allocations: 79.5 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1439, allocations: 16 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.144, allocations: 16 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.144, allocations: 35.84 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.1441, allocations: 87.47 kB / 362.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1444, allocations: 175.2 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1444, allocations: 7.938 kB / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1444, allocations: 4 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1444, allocations: 0 / 362.5 MB, free: 9.734 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.0007256/0.1451, allocations: 0.4906 MB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1452, allocations: 12.03 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.1454, allocations: 40.62 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1458, allocations: 247.8 kB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1458, allocations: 8.375 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.1459, allocations: 16.38 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1462, allocations: 168.5 kB / 363.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1462, allocations: 0 / 363.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1462, allocations: 4 kB / 363.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1462, allocations: 4 kB / 363.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1465, allocations: 95.81 kB / 363.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1475, allocations: 0.6332 MB / 364.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1478, allocations: 135.8 kB / 364.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1479, allocations: 58.67 kB / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1479, allocations: 0 / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.148, allocations: 42.56 kB / 364.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.148, allocations: 0 / 364.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005002/0.1485, allocations: 177.2 kB / 364.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.1486, allocations: 106.8 kB / 364.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1488, allocations: 238.6 kB / 364.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1489, allocations: 29.83 kB / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.149, allocations: 144 kB / 365.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.149, allocations: 51.34 kB / 365.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1491, allocations: 29.7 kB / 365.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1493, allocations: 326.8 kB / 365.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1494, allocations: 43.97 kB / 365.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1496, allocations: 90.84 kB / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1498, allocations: 150.7 kB / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1499, allocations: 0 / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003474/0.1502, allocations: 189.1 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1502, allocations: 4 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1502, allocations: 8.188 kB / 366 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1503, allocations: 7.938 kB / 366 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1504, allocations: 35.91 kB / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1504, allocations: 7.984 kB / 366 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1505, allocations: 15.84 kB / 366 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1506, allocations: 8 kB / 366 MB, free: 5.844 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.0001302/0.1507, allocations: 141.6 kB / 366.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.1508, allocations: 23.72 kB / 366.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.1512, allocations: 178.8 kB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1512, allocations: 4 kB / 366.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1512, allocations: 0 / 366.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1512, allocations: 0.5625 kB / 366.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.1517, allocations: 277.3 kB / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1517, allocations: 0 / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1519, allocations: 43.91 kB / 366.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1519, allocations: 0 / 366.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.152, allocations: 12 kB / 366.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.152, allocations: 0 / 366.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.152, allocations: 0 / 366.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.1525, allocations: 476 kB / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1526, allocations: 108.9 kB / 367.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1527, allocations: 7.938 kB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1528, allocations: 4 kB / 367.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1529, allocations: 23.91 kB / 367.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1529, allocations: 4 kB / 367.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1531, allocations: 174 kB / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1531, allocations: 0 / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1534, allocations: 32 kB / 367.5 MB, free: 4.266 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.0001148/0.1535, allocations: 99.19 kB / 367.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.1538, allocations: 119.8 kB / 367.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1539, allocations: 0 / 367.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.154, allocations: 63.91 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1544, allocations: 24.41 kB / 367.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1554, allocations: 0.6164 MB / 368.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1558, allocations: 0.7436 MB / 369.2 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.1559, allocations: 25.52 kB / 369.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1559, allocations: 23.38 kB / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1559, allocations: 0 / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of Templates: time 0.004003/0.1599, allocations: 1.354 MB / 370.6 MB, free: 1.145 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 -s gbode -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/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_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches