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.001827/0.001827, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002198/0.002198, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001518/0.001518, allocations: 48.06 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2876, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003355/0.2909, allocations: 2.029 MB / 433.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2923, allocations: 0.6465 MB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2924, allocations: 11.94 kB / 433.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2926, allocations: 43.53 kB / 433.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.2927, allocations: 43.58 kB / 433.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.293, allocations: 83.78 kB / 434 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2933, allocations: 207.2 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2934, allocations: 48.56 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.2936, allocations: 83.64 kB / 434.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2938, allocations: 79.5 kB / 434.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.2938, allocations: 12 kB / 434.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.2939, allocations: 23.98 kB / 434.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.2939, allocations: 31.8 kB / 434.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.294, allocations: 91.47 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.2942, allocations: 179.5 kB / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2943, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2943, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2943, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.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.0007364/0.295, allocations: 437.1 kB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.295, allocations: 12.03 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.2951, allocations: 46.73 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2953, allocations: 40.77 kB / 435.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.2957, allocations: 190 kB / 435.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2957, allocations: 12.38 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.2957, allocations: 16.38 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2961, allocations: 168.2 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2961, allocations: 0 / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2961, allocations: 8 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2961, allocations: 4 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.2963, allocations: 87.89 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.2973, allocations: 0.6012 MB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2975, allocations: 135.8 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.2977, allocations: 50.69 kB / 436.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2977, allocations: 7.922 kB / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2977, allocations: 38.55 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2977, allocations: 0 / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004947/0.2982, allocations: 177.9 kB / 436.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.2983, allocations: 102.8 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2985, allocations: 241.9 kB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2985, allocations: 29.7 kB / 437.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.2986, allocations: 136 kB / 437.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.2987, allocations: 51.53 kB / 437.3 MB, free: 496 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2988, allocations: 37.83 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2989, allocations: 334.8 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.299, allocations: 39.97 kB / 437.7 MB, free: 68 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2992, allocations: 90.84 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.2994, allocations: 154.8 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2995, allocations: 3.938 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000343/0.2998, allocations: 173.4 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2998, allocations: 11.98 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2998, allocations: 0 / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2998, allocations: 4 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3, allocations: 32.11 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3, allocations: 8 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3001, allocations: 27.81 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3001, allocations: 4 kB / 438.2 MB, free: 15.51 MB / 350.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.0001216/0.3003, allocations: 129.7 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.3003, allocations: 27.86 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.3007, allocations: 190.9 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3007, allocations: 0 / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3007, allocations: 4 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3007, allocations: 3.938 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.3012, allocations: 248.4 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3012, allocations: 0 / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3014, allocations: 35.91 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3014, allocations: 4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3014, allocations: 4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3014, allocations: 4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3014, allocations: 0 / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.302, allocations: 476.5 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.302, allocations: 27.86 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.302, allocations: 8.188 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3022, allocations: 12 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3023, allocations: 15.97 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3023, allocations: 4 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3025, allocations: 173.2 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3025, allocations: 0 / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.3028, allocations: 35.94 kB / 439.5 MB, free: 14.06 MB / 350.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.0008612/0.3037, allocations: 1.004 MB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.304, allocations: 116.2 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.304, allocations: 4.062 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3041, allocations: 63.89 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3045, allocations: 12.5 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3078, allocations: 2.585 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3082, allocations: 0.7437 MB / 444.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.3083, allocations: 21.47 kB / 444.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3084, allocations: 79.41 kB / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3084, allocations: 0 / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3402, allocations: 3.884 MB / 448.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.32, allocations: 4.047 kB / 448.1 MB, free: 5.492 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/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: 14.264076988998568]