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.001636/0.001636, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001859/0.001859, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001877/0.001877, allocations: 64.05 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1023, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003259/0.1056, allocations: 2.024 MB / 428.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1068, allocations: 0.6311 MB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1069, allocations: 8 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1071, allocations: 43.53 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.1071, allocations: 35.59 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1074, allocations: 83.83 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1077, allocations: 215.1 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1079, allocations: 52.31 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.108, allocations: 75.7 kB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1082, allocations: 83.56 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1082, allocations: 12 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.1082, allocations: 16 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.1083, allocations: 39.78 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.1084, allocations: 87.41 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1086, allocations: 175.1 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1086, allocations: 0 / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1086, allocations: 0 / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1086, allocations: 0 / 430.2 MB, free: 1.426 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.0007446/0.1094, allocations: 0.5061 MB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1094, allocations: 11.97 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.1095, allocations: 46.73 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.1097, allocations: 44.77 kB / 430.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.11, allocations: 240 kB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.11, allocations: 12.31 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.1101, allocations: 20.38 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1104, allocations: 164.3 kB / 431.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1104, allocations: 7.938 kB / 431.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1104, allocations: 4 kB / 431.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1104, allocations: 4 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.1107, allocations: 87.89 kB / 431.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.1116, allocations: 0.645 MB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1119, allocations: 135.7 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.112, allocations: 50.69 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.112, allocations: 4 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1121, allocations: 34.55 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1121, allocations: 4 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004848/0.1126, allocations: 173.4 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.1126, allocations: 106.8 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1129, allocations: 242.6 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1129, allocations: 33.64 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.113, allocations: 132.1 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.113, allocations: 55.64 kB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.1131, allocations: 37.7 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1132, allocations: 330.8 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1134, allocations: 39.97 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1135, allocations: 105.2 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1138, allocations: 146.7 kB / 433.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1138, allocations: 3.938 kB / 433.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000342/0.1141, allocations: 181.3 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1141, allocations: 8 kB / 433.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1141, allocations: 0.5625 kB / 433.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1142, allocations: 4 kB / 433.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1143, allocations: 36.17 kB / 433.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1143, allocations: 3.938 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1144, allocations: 23.88 kB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1145, allocations: 8 kB / 433.9 MB, free: 13.45 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.0001262/0.1146, allocations: 125.8 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1147, allocations: 31.84 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.115, allocations: 186.8 kB / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.115, allocations: 0 / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1151, allocations: 4 kB / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1151, allocations: 0 / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1155, allocations: 281.3 kB / 434.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1155, allocations: 0 / 434.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1157, allocations: 31.97 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1157, allocations: 4 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1157, allocations: 4 kB / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1157, allocations: 4 kB / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1157, allocations: 11.88 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.1163, allocations: 461.8 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1164, allocations: 105 kB / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1164, allocations: 8 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1166, allocations: 8 kB / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1166, allocations: 11.98 kB / 435.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1166, allocations: 7.984 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1168, allocations: 181.9 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1168, allocations: 0 / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.1171, allocations: 31.94 kB / 435.3 MB, free: 11.88 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.0008891/0.118, allocations: 1.004 MB / 436.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.1183, allocations: 114.4 kB / 436.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1183, allocations: 4.062 kB / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1185, allocations: 59.91 kB / 436.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1189, allocations: 20.48 kB / 436.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1221, allocations: 2.58 MB / 439.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1225, allocations: 0.7397 MB / 439.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.203e-05/0.1225, allocations: 17.55 kB / 439.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1227, allocations: 75.41 kB / 439.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1227, allocations: 0 / 439.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.1509, allocations: 3.697 MB / 443.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.352, allocations: 3.938 kB / 443.6 MB, free: 3.445 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.077314374037087]