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.001848/0.001848, allocations: 128.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.002146/0.002146, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.529/1.529, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00185/0.00185, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1175, allocations: 53.36 MB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003436/0.121, allocations: 2.029 MB / 428.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1221, allocations: 0.6389 MB / 429 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1223, allocations: 7.875 kB / 429 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1224, allocations: 39.59 kB / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1225, allocations: 39.58 kB / 429.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1228, allocations: 87.78 kB / 429.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1231, allocations: 211.2 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1233, allocations: 48.38 kB / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1235, allocations: 75.7 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1236, allocations: 87.48 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1236, allocations: 16 kB / 429.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.1237, allocations: 12 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.1237, allocations: 39.84 kB / 429.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.1238, allocations: 83.42 kB / 429.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1241, allocations: 187 kB / 429.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1241, allocations: 8 kB / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1241, allocations: 0 / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1241, allocations: 0 / 429.9 MB, free: 1.027 MB / 350.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.0007434/0.1248, allocations: 0.4905 MB / 430.4 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1249, allocations: 12.03 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.1249, allocations: 46.73 kB / 430.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.1252, allocations: 44.78 kB / 430.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1255, allocations: 247.9 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1255, allocations: 12.31 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.1255, allocations: 12.38 kB / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1258, allocations: 168.4 kB / 431 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1259, allocations: 0 / 431 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1259, allocations: 4 kB / 431 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1259, allocations: 8 kB / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.1261, allocations: 91.88 kB / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.1271, allocations: 0.6411 MB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1273, allocations: 131.8 kB / 431.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1275, allocations: 54.67 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1275, allocations: 7.969 kB / 431.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1275, allocations: 38.56 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1275, allocations: 0 / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005161/0.128, allocations: 181.3 kB / 432.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1281, allocations: 102.8 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1284, allocations: 242.7 kB / 432.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1284, allocations: 33.7 kB / 432.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.1285, allocations: 136.1 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.1285, allocations: 51.53 kB / 432.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1286, allocations: 29.7 kB / 432.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1287, allocations: 338.8 kB / 433 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1288, allocations: 31.98 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.129, allocations: 106.7 kB / 433.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.1293, allocations: 142.7 kB / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1293, allocations: 3.938 kB / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003512/0.1296, allocations: 181.3 kB / 433.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1296, allocations: 12.19 kB / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1297, allocations: 0 / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1297, allocations: 4 kB / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1298, allocations: 35.91 kB / 433.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1298, allocations: 4 kB / 433.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1299, allocations: 20.45 kB / 433.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.13, allocations: 7.984 kB / 433.6 MB, free: 13.07 MB / 366.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.0001271/0.1301, allocations: 133.7 kB / 433.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.1302, allocations: 27.86 kB / 433.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.1306, allocations: 178.8 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1306, allocations: 0 / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.1306, allocations: 11.98 kB / 433.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1306, allocations: 0 / 433.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1311, allocations: 277.4 kB / 434.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1311, allocations: 0 / 434.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.1313, allocations: 31.92 kB / 434.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1313, allocations: 11.94 kB / 434.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1313, allocations: 7.984 kB / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1313, allocations: 4 kB / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1313, allocations: 0 / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.1319, allocations: 469.8 kB / 434.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.132, allocations: 96.92 kB / 434.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.132, allocations: 8.062 kB / 434.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1322, allocations: 7.984 kB / 434.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1323, allocations: 15.92 kB / 434.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1323, allocations: 7.938 kB / 434.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1324, allocations: 174 kB / 435 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1324, allocations: 0 / 435 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1328, allocations: 35.94 kB / 435 MB, free: 11.5 MB / 366.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.0008757/0.1336, allocations: 1.006 MB / 436 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1339, allocations: 111.9 kB / 436.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.134, allocations: 3.938 kB / 436.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1341, allocations: 63.89 kB / 436.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1345, allocations: 12.56 kB / 436.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.1377, allocations: 2.581 MB / 438.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1381, allocations: 0.7436 MB / 439.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.1382, allocations: 25.52 kB / 439.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1383, allocations: 71.41 kB / 439.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1383, allocations: 0 / 439.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.1676, allocations: 3.684 MB / 443.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.046, allocations: 8.047 kB / 443.3 MB, free: 3.07 MB / 366.1 MB " [Timeout remaining time 652] (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/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_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: 11.324392648995854]