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.00148/0.00148, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001376/0.001376, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.58/1.58, allocations: 230.5 MB / 258.2 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.91 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4121, allocations: 53.4 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004074/0.4162, allocations: 2.029 MB / 434 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4175, allocations: 0.6544 MB / 434.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.4177, allocations: 7.938 kB / 434.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.4179, allocations: 35.53 kB / 434.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.418, allocations: 47.58 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.4183, allocations: 83.78 kB / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.4186, allocations: 203.2 kB / 435 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.4188, allocations: 52.56 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.419, allocations: 83.64 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.4191, allocations: 83.48 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.4192, allocations: 12 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.4192, allocations: 20 kB / 435.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.4193, allocations: 27.86 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.4194, allocations: 87.47 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.4196, allocations: 183.5 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4197, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4197, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4197, allocations: 4 kB / 435.6 MB, free: 3.086 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.0007838/0.4204, allocations: 433.1 kB / 436 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4205, allocations: 8.031 kB / 436 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.871e-05/0.4205, allocations: 8.172 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.4206, allocations: 42.75 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.4208, allocations: 48.77 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.4212, allocations: 186.1 kB / 436.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4212, allocations: 8.375 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.4213, allocations: 12.38 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.4216, allocations: 172 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4216, allocations: 3.938 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4216, allocations: 7.938 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.4216, allocations: 8 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.4219, allocations: 91.94 kB / 436.6 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.423, allocations: 0.6089 MB / 437.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.4232, allocations: 123.8 kB / 437.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.4233, allocations: 54.69 kB / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.4234, allocations: 3.984 kB / 437.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.4234, allocations: 46.48 kB / 437.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4234, allocations: 0 / 437.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005296/0.4239, allocations: 169.4 kB / 437.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.424, allocations: 114.8 kB / 437.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.4243, allocations: 234 kB / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4243, allocations: 37.7 kB / 437.9 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4244, allocations: 128.1 kB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.4245, allocations: 51.53 kB / 438.1 MB, free: 312 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.4245, allocations: 33.7 kB / 438.1 MB, free: 272 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4247, allocations: 334.8 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4248, allocations: 39.91 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.425, allocations: 94.84 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4253, allocations: 150.6 kB / 438.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4253, allocations: 4 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003543/0.4256, allocations: 177.5 kB / 438.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4257, allocations: 8 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4257, allocations: 4 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4257, allocations: 0 / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4259, allocations: 35.92 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.4259, allocations: 3.984 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.426, allocations: 20.45 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.426, allocations: 8 kB / 439 MB, free: 15.34 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.0001492/0.4262, allocations: 133.7 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.4262, allocations: 27.84 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.4267, allocations: 178.9 kB / 439.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4267, allocations: 4 kB / 439.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4267, allocations: 4 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4267, allocations: 0 / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.4271, allocations: 252.4 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4271, allocations: 0 / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.4274, allocations: 40 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4274, allocations: 7.984 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4274, allocations: 8 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4274, allocations: 0 / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4274, allocations: 0 / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.4281, allocations: 487.4 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.4281, allocations: 27.8 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.4281, allocations: 4.062 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.4283, allocations: 4 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.4284, allocations: 19.97 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4284, allocations: 4 kB / 440.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.4286, allocations: 173.2 kB / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4286, allocations: 0 / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.429, allocations: 39.88 kB / 440.4 MB, free: 13.88 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.001006/0.43, allocations: 0.9998 MB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.4304, allocations: 111.8 kB / 441.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4304, allocations: 0 / 441.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4305, allocations: 63.89 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.431, allocations: 22.94 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.4347, allocations: 2.586 MB / 444.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4351, allocations: 0.7398 MB / 444.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.4352, allocations: 17.48 kB / 444.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4354, allocations: 75.39 kB / 445 MB, free: 9.082 MB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4354, allocations: 0 / 445 MB, free: 9.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.466, allocations: 3.925 MB / 448.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.96, allocations: 8.75 kB / 448.9 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 648] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.16893391404301]