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.0008046/0.0008046, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007437/0.0007437, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9152/0.9152, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.897e-05, allocations: 4.672 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002447/0.002466, allocations: 1.897 MB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.003175, allocations: 0.5376 MB / 320.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.003266, allocations: 3.938 kB / 320.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.003432, allocations: 43.53 kB / 320.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.003497, allocations: 43.53 kB / 320.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.003723, allocations: 71.78 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.003915, allocations: 211.1 kB / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.004069, allocations: 48.55 kB / 321.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.004213, allocations: 107.7 kB / 321.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.004306, allocations: 59.75 kB / 321.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.004345, allocations: 12 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.004361, allocations: 12 kB / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.004393, allocations: 35.83 kB / 321.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.00444, allocations: 51.84 kB / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.004644, allocations: 175.3 kB / 321.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004647, allocations: 0 / 321.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004648, allocations: 4 kB / 321.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.004654, allocations: 3.938 kB / 321.7 MB, free: 3.035 MB / 282.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.00056/0.005214, allocations: 413.3 kB / 322.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.005258, allocations: 12.92 kB / 322.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.00531, allocations: 50.73 kB / 322.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.005346, allocations: 24.8 kB / 322.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.005547, allocations: 169.4 kB / 322.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.005562, allocations: 8.375 kB / 322.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.005593, allocations: 16.38 kB / 322.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.005834, allocations: 164.1 kB / 322.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.005844, allocations: 0 / 322.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.005859, allocations: 8 kB / 322.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005865, allocations: 0 / 322.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.006018, allocations: 91.88 kB / 322.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.006714, allocations: 0.5818 MB / 323.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.006901, allocations: 127.8 kB / 323.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.006974, allocations: 50.69 kB / 323.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.006995, allocations: 4 kB / 323.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.007014, allocations: 34.56 kB / 323.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.007016, allocations: 0 / 323.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003338/0.007349, allocations: 177.4 kB / 323.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.007397, allocations: 114.9 kB / 323.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.00756, allocations: 233.9 kB / 324 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.007575, allocations: 29.7 kB / 324 MB, free: 0.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.007642, allocations: 140 kB / 324.1 MB, free: 412 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.007683, allocations: 55.53 kB / 324.2 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.007724, allocations: 33.7 kB / 324.2 MB, free: 316 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.007828, allocations: 334.8 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.007899, allocations: 39.89 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.007991, allocations: 93.64 kB / 324.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.008158, allocations: 151.2 kB / 324.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00816, allocations: 3.938 kB / 324.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002369/0.008397, allocations: 189.4 kB / 325 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008411, allocations: 4 kB / 325 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.008419, allocations: 4 kB / 325 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.008433, allocations: 4 kB / 325 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.00852, allocations: 35.97 kB / 325.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.008531, allocations: 7.938 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.008585, allocations: 11.89 kB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.008596, allocations: 11.98 kB / 325.1 MB, free: 15.38 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 9.202e-05/0.008688, allocations: 133.9 kB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.008727, allocations: 23.86 kB / 325.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.008978, allocations: 179 kB / 325.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.008982, allocations: 4 kB / 325.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.008988, allocations: 3.938 kB / 325.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.008996, allocations: 7.984 kB / 325.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.009284, allocations: 224.5 kB / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009285, allocations: 0 / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.009378, allocations: 35.97 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.00938, allocations: 4 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.009395, allocations: 8 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009396, allocations: 0 / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009397, allocations: 0 / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.01007, allocations: 481.9 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.0101, allocations: 23.86 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01012, allocations: 7.984 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01022, allocations: 8 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01026, allocations: 15.97 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01027, allocations: 11.94 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.01037, allocations: 169.2 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.0106, allocations: 35.95 kB / 326.4 MB, free: 13.95 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.0005442/0.01115, allocations: 0.995 MB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01136, allocations: 119.8 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01136, allocations: 0 / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.01144, allocations: 63.89 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01172, allocations: 15 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.01372, allocations: 2.464 MB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.301e-05/0.01381, allocations: 129.9 kB / 330.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.01386, allocations: 25.45 kB / 330.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.01395, allocations: 68.47 kB / 330.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01395, allocations: 15.88 kB / 330.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.03382, allocations: 4.294 MB / 334.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.901, allocations: 7.938 kB / 334.6 MB, free: 5.707 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/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: 8.872315224260092]