Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 193.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2804, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003299/0.2837, allocations: 1.9 MB / 424.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2847, allocations: 0.5415 MB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.2848, allocations: 3.938 kB / 425 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.285, allocations: 47.53 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.2851, allocations: 39.64 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2853, allocations: 59.88 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.2856, allocations: 207.2 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2857, allocations: 52.3 kB / 425.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2859, allocations: 79.64 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.286, allocations: 79.56 kB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.286, allocations: 15.94 kB / 425.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.286, allocations: 12 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.2861, allocations: 35.84 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.2862, allocations: 59.61 kB / 425.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.2864, allocations: 184.9 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2864, allocations: 0 / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2864, allocations: 0 / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2864, allocations: 0 / 425.9 MB, free: 11.09 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.0007233/0.2871, allocations: 429.2 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2872, allocations: 8.031 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.2872, allocations: 46.73 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.2873, allocations: 24.8 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2875, allocations: 174.1 kB / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2876, allocations: 16.12 kB / 426.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.2876, allocations: 12 kB / 426.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.2879, allocations: 164.1 kB / 426.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2879, allocations: 0 / 426.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.288, allocations: 8 kB / 426.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.288, allocations: 8 kB / 426.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2882, allocations: 91.88 kB / 426.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009814/0.2892, allocations: 0.5778 MB / 427.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.2894, allocations: 123.8 kB / 427.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2896, allocations: 54.62 kB / 427.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2896, allocations: 8 kB / 427.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.2896, allocations: 46.48 kB / 427.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2896, allocations: 0 / 427.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005137/0.2901, allocations: 173.4 kB / 427.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.2902, allocations: 106.8 kB / 427.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2905, allocations: 233.1 kB / 428.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2905, allocations: 25.7 kB / 428.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2906, allocations: 140 kB / 428.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.2906, allocations: 55.66 kB / 428.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.2907, allocations: 33.7 kB / 428.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.2909, allocations: 334.8 kB / 428.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.291, allocations: 39.97 kB / 428.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2912, allocations: 89.97 kB / 428.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2914, allocations: 146.7 kB / 429 MB, free: 7.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2914, allocations: 3.938 kB / 429 MB, free: 7.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003564/0.2918, allocations: 181.4 kB / 429.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2918, allocations: 8 kB / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2918, allocations: 192 / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2918, allocations: 8 kB / 429.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.292, allocations: 35.91 kB / 429.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.292, allocations: 4 kB / 429.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2921, allocations: 19.88 kB / 429.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2921, allocations: 8 kB / 429.2 MB, free: 7.418 MB / 334.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.2923, allocations: 129.7 kB / 429.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.2923, allocations: 23.86 kB / 429.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.2927, allocations: 190.8 kB / 429.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2927, allocations: 0 / 429.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2927, allocations: 4 kB / 429.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2928, allocations: 0 / 429.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.2932, allocations: 224.6 kB / 429.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2932, allocations: 0.5625 kB / 429.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.2934, allocations: 35.91 kB / 429.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2934, allocations: 4 kB / 429.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2934, allocations: 8 kB / 429.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.2934, allocations: 4 kB / 429.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2934, allocations: 0 / 429.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.294, allocations: 477.7 kB / 430.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2941, allocations: 27.78 kB / 430.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2941, allocations: 4.062 kB / 430.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2943, allocations: 8 kB / 430.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2943, allocations: 19.91 kB / 430.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2943, allocations: 7.938 kB / 430.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.2945, allocations: 168.5 kB / 430.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2945, allocations: 0 / 430.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.2949, allocations: 36 kB / 430.6 MB, free: 5.996 MB / 334.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.0009184/0.2958, allocations: 0.9921 MB / 431.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2961, allocations: 120.1 kB / 431.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2961, allocations: 0 / 431.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2963, allocations: 72.41 kB / 431.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.2967, allocations: 16.38 kB / 431.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.3, allocations: 2.588 MB / 434.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3001, allocations: 125.9 kB / 434.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.204e-05/0.3002, allocations: 25.47 kB / 434.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3003, allocations: 67.41 kB / 434.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3003, allocations: 0 / 434.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.3351, allocations: 4.156 MB / 438.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.8, allocations: 10.02 kB / 438.7 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.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.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.562661945354193]