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: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 55.44 kB / 307 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003315/0.1056, allocations: 2.01 MB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1068, allocations: 0.6349 MB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.107, allocations: 7.938 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1071, allocations: 43.53 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1073, allocations: 35.66 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1076, allocations: 83.78 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1078, allocations: 207.1 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.108, allocations: 80.33 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1082, allocations: 75.72 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1084, allocations: 87.42 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1084, allocations: 12 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.1e-05/0.1085, allocations: 16 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.1085, allocations: 35.86 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1086, allocations: 87.45 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1088, allocations: 171.6 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1088, allocations: 0 / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1088, allocations: 7.938 kB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1088, allocations: 0 / 361.1 MB, free: 10.4 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.0006452/0.1095, allocations: 0.4945 MB / 361.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1095, allocations: 8.031 kB / 361.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1096, allocations: 42.75 kB / 361.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.1098, allocations: 44.62 kB / 361.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1101, allocations: 243.8 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1101, allocations: 12.36 kB / 362 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1102, allocations: 12.38 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.1105, allocations: 172.2 kB / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1105, allocations: 0 / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1105, allocations: 4 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1105, allocations: 4 kB / 362.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.1108, allocations: 87.95 kB / 362.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.1117, allocations: 0.645 MB / 362.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1119, allocations: 127.8 kB / 363 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.112, allocations: 54.69 kB / 363.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.112, allocations: 0 / 363.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1121, allocations: 50.48 kB / 363.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1121, allocations: 0 / 363.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004861/0.1126, allocations: 177.7 kB / 363.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1126, allocations: 102.8 kB / 363.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1129, allocations: 246.8 kB / 363.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1129, allocations: 25.7 kB / 363.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.113, allocations: 140 kB / 363.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.113, allocations: 47.3 kB / 363.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.1131, allocations: 29.7 kB / 363.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1132, allocations: 338.8 kB / 364.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1133, allocations: 39.91 kB / 364.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1135, allocations: 94.84 kB / 364.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1137, allocations: 150.7 kB / 364.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1138, allocations: 3.938 kB / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000345/0.1141, allocations: 177.4 kB / 364.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1141, allocations: 12 kB / 364.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1141, allocations: 0 / 364.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1142, allocations: 4 kB / 364.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1143, allocations: 31.92 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1143, allocations: 11.92 kB / 364.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1145, allocations: 19.84 kB / 364.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1145, allocations: 4 kB / 364.7 MB, free: 6.465 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.0001076/0.1146, allocations: 137.7 kB / 364.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.1147, allocations: 31.7 kB / 364.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.1151, allocations: 182.8 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1151, allocations: 4.078 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1151, allocations: 0 / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1151, allocations: 4 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1156, allocations: 277.3 kB / 365.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1156, allocations: 0 / 365.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1158, allocations: 39.91 kB / 365.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1158, allocations: 4 kB / 365.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1158, allocations: 4 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1158, allocations: 0 / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1158, allocations: 4 kB / 365.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.1163, allocations: 477.3 kB / 365.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1164, allocations: 100.8 kB / 366 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.1165, allocations: 12.06 kB / 366 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1166, allocations: 4 kB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1167, allocations: 11.98 kB / 366 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1167, allocations: 7.984 kB / 366 MB, free: 5.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1169, allocations: 174 kB / 366.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1169, allocations: 0 / 366.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.1173, allocations: 39.94 kB / 366.2 MB, free: 4.879 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.0007506/0.118, allocations: 1.002 MB / 367.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1183, allocations: 119.9 kB / 367.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1183, allocations: 0 / 367.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1185, allocations: 63.89 kB / 367.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1189, allocations: 19.38 kB / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.1221, allocations: 2.582 MB / 370 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1224, allocations: 0.7439 MB / 370.8 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.1225, allocations: 17.55 kB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1226, allocations: 71.41 kB / 370.8 MB, free: 80 kB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1226, allocations: 0 / 370.8 MB, free: 80 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1872/0.3098, allocations: 3.587 MB / 374.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.777, allocations: 9.953 kB / 374.4 MB, free: 19.92 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Blocks_Examples_Modulation.fmu > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv","/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