Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.524e-05, allocations: 5.234 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002784/0.002799, allocations: 1.921 MB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.003793, allocations: 0.6037 MB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.003926, allocations: 3.938 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.004053, allocations: 47.53 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.004142, allocations: 43.53 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.004431, allocations: 87.75 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.004664, allocations: 211.1 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.004805, allocations: 48.94 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.004999, allocations: 111.6 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.005086, allocations: 67.73 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.005108, allocations: 16 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.005151, allocations: 12 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.005178, allocations: 35.84 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.00523, allocations: 51.83 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.005435, allocations: 175.3 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005437, allocations: 0 / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005437, allocations: 0 / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005441, allocations: 0 / 328 MB, free: 12.4 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.000479/0.00592, allocations: 433.2 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.005953, allocations: 8.031 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.00599, allocations: 50.67 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.00614, allocations: 44.77 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.006373, allocations: 189.3 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006386, allocations: 8.375 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.006411, allocations: 12.38 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.006641, allocations: 168.7 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.006648, allocations: 4.188 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.006662, allocations: 12.06 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006667, allocations: 4 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.006836, allocations: 83.89 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.007515, allocations: 0.5703 MB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.007713, allocations: 131.8 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.007804, allocations: 66.61 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007819, allocations: 4 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.00784, allocations: 38.5 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.007841, allocations: 0 / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003711/0.008212, allocations: 177.4 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003417/0.008554, allocations: 110.8 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.008749, allocations: 241.9 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.008768, allocations: 33.83 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.008838, allocations: 136 kB / 330.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.008878, allocations: 51.59 kB / 330.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.008924, allocations: 29.7 kB / 330.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.009021, allocations: 334.8 kB / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.009106, allocations: 35.98 kB / 330.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.009214, allocations: 95.25 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.009416, allocations: 154.7 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.009417, allocations: 0 / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002671/0.009684, allocations: 185.2 kB / 331.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.009695, allocations: 8.188 kB / 331.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.0097, allocations: 4 kB / 331.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.00971, allocations: 4 kB / 331.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.009816, allocations: 31.97 kB / 331.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.009821, allocations: 4 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.009895, allocations: 19.83 kB / 331.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.00991, allocations: 15.97 kB / 331.4 MB, free: 8.668 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.523e-05/0.009995, allocations: 129.8 kB / 331.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.01007, allocations: 27.8 kB / 331.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01034, allocations: 179 kB / 331.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01035, allocations: 4 kB / 331.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01035, allocations: 0 / 331.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01035, allocations: 7.984 kB / 331.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.01072, allocations: 220.6 kB / 332 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01072, allocations: 4 kB / 332 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01084, allocations: 35.91 kB / 332 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01085, allocations: 3.938 kB / 332 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01086, allocations: 8 kB / 332 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01086, allocations: 4 kB / 332 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01086, allocations: 4 kB / 332 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.01129, allocations: 472.7 kB / 332.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.01132, allocations: 27.73 kB / 332.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01134, allocations: 8.047 kB / 332.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.01149, allocations: 8 kB / 332.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.01152, allocations: 11.97 kB / 332.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01153, allocations: 8.188 kB / 332.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01166, allocations: 177.2 kB / 332.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01166, allocations: 0 / 332.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.01202, allocations: 32 kB / 332.8 MB, free: 7.254 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.0006111/0.01263, allocations: 1.004 MB / 333.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.01285, allocations: 120.2 kB / 333.9 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01285, allocations: 8 kB / 333.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01296, allocations: 63.89 kB / 334 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.01334, allocations: 12.5 kB / 334 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.0157, allocations: 2.47 MB / 336.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.0158, allocations: 133.9 kB / 336.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.01586, allocations: 21.45 kB / 336.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.01595, allocations: 72.47 kB / 336.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.01595, allocations: 0 / 336.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.03362, allocations: 4.372 MB / 341 MB, free: 14.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.011, allocations: 8.125 kB / 341 MB, free: 14.91 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.987095907330513]