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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008911, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009803/0.0009803, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9124/0.9124, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.318e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00228/0.002303, allocations: 1.914 MB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.003118, allocations: 0.6038 MB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003225, allocations: 7.938 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.00337, allocations: 43.53 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.003436, allocations: 39.53 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.003736, allocations: 83.77 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.003946, allocations: 211.1 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004092, allocations: 52.34 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.004284, allocations: 119.6 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.004365, allocations: 55.8 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.004387, allocations: 12 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.004435, allocations: 16 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.004459, allocations: 31.84 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.004505, allocations: 63.77 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.004701, allocations: 175.3 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004704, allocations: 3.938 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004705, allocations: 0 / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.00471, allocations: 0 / 327.9 MB, free: 12.44 MB / 298.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.0005145/0.005225, allocations: 425.2 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.005269, allocations: 15.98 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.005314, allocations: 46.73 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.005478, allocations: 44.77 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.006109, allocations: 185.2 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006124, allocations: 12.38 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.006155, allocations: 12.38 kB / 328.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.006387, allocations: 172.7 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.006396, allocations: 4.125 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.006411, allocations: 8.125 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006417, allocations: 4 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.006551, allocations: 83.95 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.007159, allocations: 0.5741 MB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.007331, allocations: 127.8 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.007402, allocations: 62.67 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.007419, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.00745, allocations: 50.44 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.007451, allocations: 0 / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003325/0.007784, allocations: 177.4 kB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.007833, allocations: 110.9 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.007998, allocations: 233.9 kB / 330.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.008011, allocations: 25.7 kB / 330.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.00808, allocations: 140 kB / 330.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.008119, allocations: 47.59 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.00816, allocations: 33.7 kB / 330.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.00825, allocations: 334.8 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.008315, allocations: 31.98 kB / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.008395, allocations: 102.7 kB / 330.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.008551, allocations: 142.8 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008553, allocations: 0 / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002052/0.008758, allocations: 189.3 kB / 331.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008771, allocations: 11.94 kB / 331.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.008777, allocations: 0 / 331.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.00879, allocations: 4 kB / 331.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.008874, allocations: 39.91 kB / 331.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.00888, allocations: 0 / 331.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.008932, allocations: 19.89 kB / 331.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.008942, allocations: 4 kB / 331.3 MB, free: 8.734 MB / 298.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 () * 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 8.331e-05/0.009025, allocations: 141.8 kB / 331.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.009063, allocations: 27.8 kB / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.009308, allocations: 187 kB / 331.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009312, allocations: 4 kB / 331.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.009318, allocations: 0.5625 kB / 331.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009321, allocations: 0 / 331.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.009605, allocations: 224.6 kB / 331.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.009607, allocations: 0 / 331.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.009695, allocations: 39.92 kB / 332 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.009699, allocations: 7.938 kB / 332 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.009713, allocations: 11.98 kB / 332 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009715, allocations: 3.938 kB / 332 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.009716, allocations: 0 / 332 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.01006, allocations: 468.9 kB / 332.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.01009, allocations: 31.8 kB / 332.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01011, allocations: 4 kB / 332.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.0102, allocations: 11.98 kB / 332.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01024, allocations: 15.91 kB / 332.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01025, allocations: 12 kB / 332.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.01035, allocations: 169.2 kB / 332.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01035, allocations: 0 / 332.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.01058, allocations: 32 kB / 332.7 MB, free: 7.301 MB / 298.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 () * 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.0005198/0.0111, allocations: 0.9958 MB / 333.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01129, allocations: 119.9 kB / 333.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01129, allocations: 3.938 kB / 333.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.01137, allocations: 63.89 kB / 333.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01165, allocations: 16.5 kB / 333.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.01377, allocations: 2.475 MB / 336.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.308e-05/0.01385, allocations: 129.9 kB / 336.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.0139, allocations: 17.48 kB / 336.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.01398, allocations: 80.45 kB / 336.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01398, allocations: 4 kB / 336.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.03496, allocations: 4.355 MB / 341 MB, free: 14.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.97, allocations: 14.8 kB / 341 MB, free: 14.93 MB / 314.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sine.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.921470236033201]