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.0008796/0.0008796, allocations: 84.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009744/0.0009744, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9566/0.9566, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.082e-05, allocations: 3.688 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002324/0.002345, allocations: 1.919 MB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.003259, allocations: 0.6077 MB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.00337, allocations: 7.938 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.003514, allocations: 39.53 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.003578, allocations: 39.55 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.003875, allocations: 87.77 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.004088, allocations: 211.1 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.004242, allocations: 52.33 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.004441, allocations: 115.7 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.004525, allocations: 55.8 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.00455, allocations: 12 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.004598, allocations: 16 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.004621, allocations: 35.84 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.004669, allocations: 55.77 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.004858, allocations: 175.3 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.004862, allocations: 7.938 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.004864, allocations: 0 / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.004869, allocations: 0 / 327.9 MB, free: 12.48 MB / 298.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.0004877/0.005356, allocations: 429.2 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.005399, allocations: 15.98 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.005435, allocations: 42.75 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.005573, allocations: 44.77 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.005832, allocations: 189.2 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.005844, allocations: 8.375 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.005875, allocations: 16.38 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.006113, allocations: 164.7 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006122, allocations: 192 / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.006139, allocations: 12.12 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006146, allocations: 4 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.006283, allocations: 91.94 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.006977, allocations: 0.5702 MB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.007161, allocations: 119.8 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.007237, allocations: 62.67 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.007255, allocations: 4 kB / 329.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.00728, allocations: 54.44 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.007282, allocations: 0 / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003209/0.007603, allocations: 173.4 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.00765, allocations: 106.8 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.007817, allocations: 233.9 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.007831, allocations: 33.64 kB / 330.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.007895, allocations: 136 kB / 330.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.007935, allocations: 51.59 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.007976, allocations: 29.83 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.008068, allocations: 342.8 kB / 330.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.008134, allocations: 31.98 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.00822, allocations: 102.7 kB / 330.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.008381, allocations: 142.8 kB / 331.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008384, allocations: 0 / 331.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002179/0.008602, allocations: 185.2 kB / 331.3 MB, free: 8.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.008618, allocations: 15.06 kB / 331.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.008623, allocations: 0 / 331.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.00864, allocations: 8.031 kB / 331.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.008726, allocations: 40.09 kB / 331.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.008733, allocations: 4 kB / 331.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.008789, allocations: 19.89 kB / 331.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.008802, allocations: 7.984 kB / 331.4 MB, free: 8.758 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.404e-05/0.008896, allocations: 133.7 kB / 331.5 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.008941, allocations: 27.8 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.009205, allocations: 183 kB / 331.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009208, allocations: 0 / 331.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.009216, allocations: 12.55 kB / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00922, allocations: 0 / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.009661, allocations: 220.6 kB / 331.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009663, allocations: 0 / 331.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.009753, allocations: 39.91 kB / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.009758, allocations: 7.938 kB / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.00977, allocations: 4 kB / 332 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009773, allocations: 4 kB / 332 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009774, allocations: 0 / 332 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.01014, allocations: 470 kB / 332.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.01017, allocations: 35.78 kB / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01019, allocations: 0 / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.01028, allocations: 8 kB / 332.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.01032, allocations: 19.91 kB / 332.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01033, allocations: 4 kB / 332.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01044, allocations: 173.2 kB / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01044, allocations: 0 / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.01068, allocations: 32 kB / 332.7 MB, free: 7.34 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.0005325/0.01121, allocations: 1.004 MB / 333.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01141, allocations: 115.8 kB / 333.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01141, allocations: 3.938 kB / 333.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.01149, allocations: 64.27 kB / 333.9 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01178, allocations: 16.5 kB / 333.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.01374, allocations: 2.471 MB / 336.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01384, allocations: 133.9 kB / 336.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.0139, allocations: 25.45 kB / 336.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.01398, allocations: 68.47 kB / 336.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01398, allocations: 0 / 336.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03186, allocations: 4.366 MB / 341 MB, free: 14.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/6.616, allocations: 8.062 kB / 341 MB, free: 14.97 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/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: 8.48691438883543]