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.00107/0.00107, allocations: 94.2 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 206 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09987, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002132/0.102, allocations: 1.702 MB / 361.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1034, allocations: 0.6155 MB / 362.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1036, allocations: 7.938 kB / 362.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1038, allocations: 31.72 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.104, allocations: 27.73 kB / 362.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1043, allocations: 71.86 kB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.1047, allocations: 195.2 kB / 362.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1049, allocations: 76.33 kB / 362.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.1051, allocations: 71.64 kB / 362.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1052, allocations: 63.53 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1053, allocations: 4 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.817e-05/0.1053, allocations: 15.98 kB / 362.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1054, allocations: 27.84 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.1055, allocations: 97.19 kB / 362.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1056, allocations: 116 kB / 363 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1056, allocations: 0 / 363 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1057, allocations: 0 / 363 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1057, allocations: 0 / 363 MB, free: 10.13 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.0006796/0.1064, allocations: 478.5 kB / 363.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.1064, allocations: 8.031 kB / 363.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.1067, allocations: 48.62 kB / 363.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.107, allocations: 239.9 kB / 363.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1071, allocations: 8.375 kB / 363.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.1071, allocations: 24.22 kB / 363.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1074, allocations: 168.5 kB / 364 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1075, allocations: 0 / 364 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1075, allocations: 7.938 kB / 364 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1075, allocations: 4 kB / 364 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1077, allocations: 103.8 kB / 364.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1088, allocations: 0.6333 MB / 364.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.109, allocations: 135.8 kB / 364.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1092, allocations: 62.62 kB / 364.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1092, allocations: 0 / 364.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1092, allocations: 34.56 kB / 364.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1093, allocations: 0 / 364.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005357/0.1098, allocations: 197.5 kB / 365.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.1099, allocations: 106.8 kB / 365.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1101, allocations: 238.6 kB / 365.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1102, allocations: 29.7 kB / 365.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.1103, allocations: 136 kB / 365.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.1103, allocations: 51.39 kB / 365.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1104, allocations: 21.7 kB / 365.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1105, allocations: 326.8 kB / 366 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1107, allocations: 43.97 kB / 366.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1108, allocations: 98.84 kB / 366.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.1111, allocations: 154.7 kB / 366.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1111, allocations: 0 / 366.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003659/0.1115, allocations: 201.1 kB / 366.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1115, allocations: 8 kB / 366.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1115, allocations: 0 / 366.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1115, allocations: 4 kB / 366.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1117, allocations: 35.97 kB / 366.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1117, allocations: 3.938 kB / 366.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.1118, allocations: 28.03 kB / 366.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1119, allocations: 4 kB / 366.6 MB, free: 6.227 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.0001224/0.112, allocations: 137.6 kB / 366.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1121, allocations: 23.72 kB / 366.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.1125, allocations: 194.8 kB / 366.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1125, allocations: 4 kB / 366.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1125, allocations: 0 / 366.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1125, allocations: 4 kB / 366.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.113, allocations: 273.3 kB / 367.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.113, allocations: 4 kB / 367.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1132, allocations: 31.97 kB / 367.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1132, allocations: 7.938 kB / 367.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1132, allocations: 8 kB / 367.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1133, allocations: 4 kB / 367.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1133, allocations: 0 / 367.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.1139, allocations: 493.4 kB / 367.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.1139, allocations: 100.9 kB / 367.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.114, allocations: 4 kB / 367.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1142, allocations: 12.12 kB / 367.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.1142, allocations: 15.97 kB / 367.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1142, allocations: 8 kB / 367.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1144, allocations: 174 kB / 368.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 0 / 368.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.1148, allocations: 32 kB / 368.1 MB, free: 4.625 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.0001287/0.1149, allocations: 103.7 kB / 368.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1153, allocations: 142.2 kB / 368.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1153, allocations: 0 / 368.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1154, allocations: 63.91 kB / 368.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.1158, allocations: 16.55 kB / 368.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.117, allocations: 0.7845 MB / 369.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1174, allocations: 0.74 MB / 369.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.1174, allocations: 23.42 kB / 370 MB, free: 2.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1174, allocations: 0 / 370 MB, free: 2.688 MB / 302.1 MB Notification: Performance of Templates: time 0.004322/0.1218, allocations: 2.132 MB / 372.1 MB, free: 0.5508 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/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