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.00109/0.00109, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 58.2 kB / 306.9 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09839, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003342/0.1018, allocations: 2.072 MB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.103, allocations: 0.6272 MB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1032, allocations: 0 / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1034, allocations: 31.67 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.1035, allocations: 31.72 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1038, allocations: 71.86 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.104, allocations: 191.2 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1042, allocations: 76.33 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1044, allocations: 83.58 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1045, allocations: 75.55 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1045, allocations: 8 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.1046, allocations: 8 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.1046, allocations: 27.86 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1047, allocations: 79.47 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1049, allocations: 120 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1049, allocations: 4 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1049, allocations: 0 / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1049, allocations: 3.938 kB / 360.9 MB, free: 11 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.0007177/0.1057, allocations: 0.4945 MB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1057, allocations: 8.031 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.106, allocations: 44.64 kB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1062, allocations: 243.8 kB / 361.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1063, allocations: 8.375 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1063, allocations: 12.38 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1066, allocations: 172.4 kB / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1066, allocations: 0 / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1067, allocations: 4 kB / 361.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1067, allocations: 8 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.1069, allocations: 83.94 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.1079, allocations: 0.6332 MB / 362.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1082, allocations: 135.7 kB / 362.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1083, allocations: 58.67 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1083, allocations: 4 kB / 362.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1083, allocations: 42.5 kB / 362.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1084, allocations: 0 / 362.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005/0.1089, allocations: 173.3 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1089, allocations: 114.9 kB / 363.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1092, allocations: 234.6 kB / 363.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1092, allocations: 29.7 kB / 363.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.1093, allocations: 132 kB / 363.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1093, allocations: 55.33 kB / 363.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1094, allocations: 33.64 kB / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1095, allocations: 330.8 kB / 363.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1096, allocations: 39.97 kB / 364 MB, free: 7.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1098, allocations: 94.84 kB / 364.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.11, allocations: 146.7 kB / 364.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1101, allocations: 0 / 364.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003486/0.1104, allocations: 189.2 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1104, allocations: 8 kB / 364.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1104, allocations: 0 / 364.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1105, allocations: 4 kB / 364.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1106, allocations: 35.91 kB / 364.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1106, allocations: 7.938 kB / 364.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1108, allocations: 19.84 kB / 364.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1108, allocations: 4 kB / 364.5 MB, free: 7.129 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.0001177/0.1109, allocations: 149.7 kB / 364.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.111, allocations: 23.72 kB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.1114, allocations: 170.8 kB / 364.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1114, allocations: 4 kB / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1114, allocations: 0 / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1114, allocations: 4 kB / 364.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.1119, allocations: 281.9 kB / 365.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1119, allocations: 4 kB / 365.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.1121, allocations: 35.91 kB / 365.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1121, allocations: 0 / 365.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1121, allocations: 12 kB / 365.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1121, allocations: 0 / 365.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1121, allocations: 4 kB / 365.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.1127, allocations: 476.5 kB / 365.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1128, allocations: 100.8 kB / 365.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1128, allocations: 8.062 kB / 365.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.113, allocations: 4 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.1131, allocations: 19.91 kB / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1131, allocations: 4 kB / 365.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1132, allocations: 178 kB / 365.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1133, allocations: 0 / 365.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1136, allocations: 32 kB / 365.9 MB, free: 5.547 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.0001078/0.1137, allocations: 103.6 kB / 366 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.114, allocations: 115.8 kB / 366.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.114, allocations: 384 / 366.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1142, allocations: 67.91 kB / 366.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1146, allocations: 28.23 kB / 366.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1157, allocations: 0.7051 MB / 367 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1161, allocations: 0.74 MB / 367.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1161, allocations: 23.42 kB / 367.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1161, allocations: 0 / 367.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of Templates: time 0.004244/0.1204, allocations: 2.156 MB / 369.9 MB, free: 1.543 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