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.0008745/0.0008745, allocations: 93.56 kB / 17.31 MB, free: 6.539 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.0009328/0.0009328, allocations: 176.7 kB / 18.21 MB, free: 5.68 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.236/1.236, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000217/0.000217, allocations: 11.94 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07111/0.07134, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.001718/0.07307, allocations: 1.681 MB / 354.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.07386, allocations: 0.553 MB / 354.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.07396, allocations: 4 kB / 354.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.07409, allocations: 35.66 kB / 354.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.07417, allocations: 23.73 kB / 354.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.07436, allocations: 55.94 kB / 354.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.07456, allocations: 195.2 kB / 355 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.07472, allocations: 72.22 kB / 355.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.07483, allocations: 63.66 kB / 355.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.07493, allocations: 67.52 kB / 355.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.07496, allocations: 4 kB / 355.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/0.07499, allocations: 4 kB / 355.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.07502, allocations: 23.84 kB / 355.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.0751, allocations: 105.1 kB / 355.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.07522, allocations: 112 kB / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.07523, allocations: 0 / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.07523, allocations: 0 / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.07524, allocations: 0 / 355.5 MB, free: 0.6992 MB / 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.0005145/0.07576, allocations: 470.6 kB / 355.9 MB, free: 196 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.0758, allocations: 12.03 kB / 355.9 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.07585, allocations: 16.75 kB / 356 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.07607, allocations: 239.8 kB / 356.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.07609, allocations: 8.375 kB / 356.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.07613, allocations: 16.12 kB / 356.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.07643, allocations: 172.2 kB / 356.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.07645, allocations: 7.922 kB / 356.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.07647, allocations: 4 kB / 356.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.07648, allocations: 4 kB / 356.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.07672, allocations: 107.9 kB / 356.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.07754, allocations: 0.6331 MB / 357.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.07778, allocations: 135.8 kB / 357.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.07792, allocations: 66.67 kB / 357.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.07794, allocations: 3.984 kB / 357.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.07796, allocations: 34.56 kB / 357.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.07797, allocations: 0 / 357.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004744/0.07845, allocations: 189.4 kB / 357.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.0785, allocations: 110.8 kB / 357.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.07871, allocations: 229 kB / 357.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.07873, allocations: 25.7 kB / 357.9 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.07881, allocations: 136 kB / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.07885, allocations: 47.36 kB / 358.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.07889, allocations: 21.7 kB / 358.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.07899, allocations: 338.8 kB / 358.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.07911, allocations: 39.89 kB / 358.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.07925, allocations: 98.84 kB / 358.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.07952, allocations: 154.7 kB / 358.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.07953, allocations: 0 / 358.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003422/0.07988, allocations: 189.2 kB / 358.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.0799, allocations: 10.66 kB / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.07991, allocations: 0 / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.07992, allocations: 4 kB / 358.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.08009, allocations: 39.91 kB / 359 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.0801, allocations: 8.125 kB / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.08022, allocations: 27.75 kB / 359 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.08025, allocations: 7.984 kB / 359 MB, free: 12.83 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 9.397e-05/0.08035, allocations: 134.2 kB / 359.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.08043, allocations: 19.81 kB / 359.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.08082, allocations: 194.8 kB / 359.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.08083, allocations: 4 kB / 359.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.08084, allocations: 0 / 359.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.08085, allocations: 3.984 kB / 359.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.08128, allocations: 273.9 kB / 359.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.08129, allocations: 0 / 359.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.08152, allocations: 35.97 kB / 359.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.08154, allocations: 4.094 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.08157, allocations: 15.98 kB / 359.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.08158, allocations: 3.938 kB / 359.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.08158, allocations: 4 kB / 359.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.08209, allocations: 477.6 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.08216, allocations: 108.8 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.08219, allocations: 4 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.08239, allocations: 8 kB / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.08244, allocations: 15.97 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.08246, allocations: 8 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.0826, allocations: 172.4 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08261, allocations: 3.938 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.08296, allocations: 32 kB / 360.5 MB, free: 11.25 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 7.604e-05/0.08304, allocations: 99.19 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.08334, allocations: 127.8 kB / 360.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.08335, allocations: 0 / 360.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.08349, allocations: 63.91 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.08393, allocations: 23.75 kB / 360.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.08494, allocations: 0.7845 MB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.0852, allocations: 0.7439 MB / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.08526, allocations: 15.44 kB / 362.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08527, allocations: 3.938 kB / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of Templates: time 0.003322/0.08859, allocations: 2.092 MB / 364.4 MB, free: 7.227 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 -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