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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008083/0.0008084, allocations: 97.33 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.453, allocations: 76.94 MB / 472.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/0.4532, allocations: 62.69 kB / 472.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007972/0.4612, allocations: 2.925 MB / 475.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4612, allocations: 0 / 475.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.4612, allocations: 11.61 kB / 475.1 MB, free: 12.75 MB / 346.7 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.0004154/0.4617, allocations: 450 kB / 475.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4617, allocations: 8.031 kB / 475.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.4619, allocations: 46 kB / 475.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4622, allocations: 231.8 kB / 475.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4622, allocations: 7.938 kB / 475.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.4622, allocations: 15.75 kB / 475.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001307/0.4624, allocations: 64.55 kB / 475.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4625, allocations: 127 kB / 476 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4626, allocations: 0.6562 kB / 476 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4626, allocations: 0 / 476 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4626, allocations: 4 kB / 476 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.4634, allocations: 0.6038 MB / 476.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4635, allocations: 112.9 kB / 476.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.4636, allocations: 43 kB / 476.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4636, allocations: 7.969 kB / 476.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4636, allocations: 45.59 kB / 476.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4636, allocations: 0 / 476.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002515/0.4639, allocations: 113.3 kB / 477 MB, free: 11.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.4639, allocations: 106.8 kB / 477.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4641, allocations: 162.2 kB / 477.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4641, allocations: 25.7 kB / 477.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.4641, allocations: 130.7 kB / 477.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.4642, allocations: 47.03 kB / 477.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.4642, allocations: 4.031 kB / 477.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.4643, allocations: 332 kB / 477.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.4643, allocations: 28.17 kB / 477.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.4644, allocations: 74.58 kB / 477.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.4644, allocations: 44.47 kB / 477.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4645, allocations: 0 / 477.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001848/0.4646, allocations: 144.9 kB / 478 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4647, allocations: 4.797 kB / 478 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4647, allocations: 4 kB / 478 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4647, allocations: 7.359 kB / 478.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4649, allocations: 39.03 kB / 478.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4649, allocations: 4 kB / 478.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.465, allocations: 24.59 kB / 478.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.465, allocations: 5.594 kB / 478.1 MB, free: 9.969 MB / 346.7 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 () * 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 5.419e-05/0.465, allocations: 105 kB / 478.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4651, allocations: 17.22 kB / 478.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4654, allocations: 151.1 kB / 478.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4654, allocations: 4 kB / 478.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4654, allocations: 3.953 kB / 478.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4654, allocations: 5.594 kB / 478.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.4657, allocations: 230.5 kB / 478.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4658, allocations: 0 / 478.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4659, allocations: 38.03 kB / 478.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4659, allocations: 0 / 478.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.466, allocations: 11.31 kB / 478.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.466, allocations: 3.562 kB / 478.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.466, allocations: 6.938 kB / 478.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.4663, allocations: 446 kB / 479.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.4663, allocations: 102.4 kB / 479.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4664, allocations: 4 kB / 479.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.4665, allocations: 9.359 kB / 479.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.4666, allocations: 13.38 kB / 479.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4666, allocations: 4 kB / 479.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.4667, allocations: 135.5 kB / 479.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4667, allocations: 0 / 479.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.467, allocations: 36.83 kB / 479.4 MB, free: 8.793 MB / 346.7 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 () * 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.0001437/0.4672, allocations: 109 kB / 479.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.4674, allocations: 83.25 kB / 479.6 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4674, allocations: 3.938 kB / 479.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.4674, allocations: 51.38 kB / 479.7 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4677, allocations: 8.969 kB / 479.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.4685, allocations: 0.5352 MB / 480.2 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4687, allocations: 0.7485 MB / 481 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.4688, allocations: 18.19 kB / 481 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.4688, allocations: 19.98 kB / 481 MB, free: 7.332 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4689, allocations: 0 / 481 MB, free: 7.332 MB / 346.7 MB Notification: Performance of Templates: time 0.003067/0.4719, allocations: 0.9783 MB / 482 MB, free: 6.781 MB / 346.7 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