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.001642/0.001642, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001497/0.001497, allocations: 213 kB / 22.99 MB, free: 5.609 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.568/1.568, allocations: 230.2 MB / 256.2 MB, free: 8.551 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: translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 53.31 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003692/0.3769, allocations: 2.033 MB / 431.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3781, allocations: 0.6466 MB / 432.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3782, allocations: 7.938 kB / 432.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.3784, allocations: 39.53 kB / 432.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.3785, allocations: 39.64 kB / 432.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3788, allocations: 91.7 kB / 432.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3791, allocations: 203.2 kB / 432.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3792, allocations: 52.38 kB / 432.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3794, allocations: 79.64 kB / 433 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3796, allocations: 79.5 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3796, allocations: 12 kB / 433 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.3796, allocations: 23.98 kB / 433.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.3797, allocations: 27.86 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.3798, allocations: 91.47 kB / 433.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.38, allocations: 180.3 kB / 433.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3801, allocations: 0 / 433.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3801, allocations: 4 kB / 433.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3801, allocations: 0 / 433.4 MB, free: 3.965 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.0008424/0.3809, allocations: 0.4983 MB / 433.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3809, allocations: 8.031 kB / 433.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.3812, allocations: 44.77 kB / 433.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3816, allocations: 251.8 kB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3816, allocations: 16.38 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.3816, allocations: 16.38 kB / 434.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.382, allocations: 164.5 kB / 434.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.382, allocations: 3.938 kB / 434.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.382, allocations: 8 kB / 434.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.382, allocations: 4 kB / 434.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.3822, allocations: 91.88 kB / 434.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3833, allocations: 0.6334 MB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3835, allocations: 131.8 kB / 435.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3837, allocations: 58.67 kB / 435.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3837, allocations: 0 / 435.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3837, allocations: 30.56 kB / 435.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3837, allocations: 8 kB / 435.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005201/0.3842, allocations: 181.8 kB / 435.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3843, allocations: 106.8 kB / 435.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.3846, allocations: 234.6 kB / 435.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3846, allocations: 29.7 kB / 435.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3847, allocations: 140.1 kB / 436 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.3848, allocations: 55.58 kB / 436 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3848, allocations: 33.7 kB / 436.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.385, allocations: 326.8 kB / 436.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.3851, allocations: 43.97 kB / 436.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3852, allocations: 98.78 kB / 436.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3855, allocations: 142.8 kB / 436.7 MB, free: 340 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3855, allocations: 4 kB / 436.7 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003518/0.3859, allocations: 189.2 kB / 436.9 MB, free: 140 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3859, allocations: 4 kB / 436.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3859, allocations: 4 kB / 436.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3859, allocations: 4.188 kB / 436.9 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.386, allocations: 39.91 kB / 436.9 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3861, allocations: 7.984 kB / 436.9 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.3862, allocations: 11.89 kB / 436.9 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3862, allocations: 12 kB / 436.9 MB, free: 56 kB / 334.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.0001466/0.3863, allocations: 137.6 kB / 437.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.3864, allocations: 19.86 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.3868, allocations: 186.8 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3868, allocations: 4 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3868, allocations: 0 / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3868, allocations: 3.938 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3873, allocations: 277.4 kB / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3873, allocations: 0 / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3875, allocations: 39.91 kB / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3875, allocations: 0 / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3875, allocations: 8 kB / 437.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3875, allocations: 4 kB / 437.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3875, allocations: 128 / 437.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.3881, allocations: 476 kB / 438.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.3882, allocations: 109 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3882, allocations: 0 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3884, allocations: 12 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.3884, allocations: 19.91 kB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3884, allocations: 8 kB / 438.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3886, allocations: 170 kB / 438.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3886, allocations: 0 / 438.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.3889, allocations: 32 kB / 438.4 MB, free: 14.48 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.0001397/0.3891, allocations: 95.25 kB / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3894, allocations: 119.8 kB / 438.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3894, allocations: 0 / 438.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3895, allocations: 59.91 kB / 438.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3899, allocations: 16.55 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3911, allocations: 0.6313 MB / 439.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3915, allocations: 0.7474 MB / 440.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.3916, allocations: 21.53 kB / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.3916, allocations: 23.42 kB / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3916, allocations: 0 / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.004855/0.3965, allocations: 1.432 MB / 441.6 MB, free: 11.28 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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: 4.9494884721934795]