Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.081/1.081, allocations: 173.4 MB / 201.2 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 3.984 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.193e-05, allocations: 6.25 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002547/0.002578, allocations: 1.963 MB / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.003499, allocations: 0.5608 MB / 270.5 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.003616, allocations: 7.938 kB / 270.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.003792, allocations: 47.47 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.00387, allocations: 35.66 kB / 270.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.004164, allocations: 63.8 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004419, allocations: 211.1 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004563, allocations: 48.55 kB / 270.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.00472, allocations: 111.7 kB / 271 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.00481, allocations: 59.73 kB / 271.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.004839, allocations: 12 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.004858, allocations: 16 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.004889, allocations: 31.84 kB / 271.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.004936, allocations: 47.84 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.005104, allocations: 127.4 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005106, allocations: 0 / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005107, allocations: 0 / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005111, allocations: 0 / 271.3 MB, free: 3.109 MB / 250.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.0005369/0.005648, allocations: 0.5152 MB / 271.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.005695, allocations: 8.922 kB / 271.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.005772, allocations: 32.8 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.005995, allocations: 187.9 kB / 272.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.00601, allocations: 8.375 kB / 272.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.006049, allocations: 16.38 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.006289, allocations: 161.5 kB / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.0063, allocations: 0 / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.00632, allocations: 4 kB / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.00633, allocations: 8 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.006414, allocations: 51.89 kB / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007545/0.007168, allocations: 0.669 MB / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.00735, allocations: 129.3 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.007408, allocations: 43.12 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.007427, allocations: 7.938 kB / 273.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.007456, allocations: 41.38 kB / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/0.007458, allocations: 4 kB / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002956/0.007754, allocations: 117.8 kB / 273.3 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.007805, allocations: 106.8 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.007972, allocations: 245.6 kB / 273.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.007989, allocations: 25.7 kB / 273.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.008077, allocations: 182.6 kB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.008128, allocations: 55.53 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.008181, allocations: 35.36 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.008343, allocations: 0.5001 MB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.008386, allocations: 20.11 kB / 274.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.008468, allocations: 93.61 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.008612, allocations: 121.4 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008614, allocations: 0 / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001867/0.008801, allocations: 141.5 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.008822, allocations: 14.97 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.00883, allocations: 0 / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.008849, allocations: 4 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.008954, allocations: 31.92 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.008962, allocations: 4 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.009015, allocations: 15.94 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.009026, allocations: 4 kB / 274.9 MB, free: 15.2 MB / 266.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 8.57e-05/0.009111, allocations: 168.5 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.009156, allocations: 27.84 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.009354, allocations: 146.7 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009356, allocations: 0 / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.00936, allocations: 0 / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009364, allocations: 4 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.009626, allocations: 196.5 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.009628, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.00972, allocations: 31.92 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.009724, allocations: 3.938 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.009744, allocations: 8 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009746, allocations: 0 / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009748, allocations: 8 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01008, allocations: 0.5254 MB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.0101, allocations: 31.72 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01012, allocations: 8.125 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.01021, allocations: 4 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01026, allocations: 19.91 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01027, allocations: 8 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.01034, allocations: 176.3 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 0 / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01058, allocations: 39.89 kB / 276.3 MB, free: 13.74 MB / 266.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 8.162e-05/0.01066, allocations: 99.25 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.01083, allocations: 83.5 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01083, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.01088, allocations: 51.59 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01115, allocations: 15.94 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.01203, allocations: 0.5148 MB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.581e-05/0.0121, allocations: 83.67 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01214, allocations: 17.48 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.01219, allocations: 20.5 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01219, allocations: 0 / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Templates: time 0.003304/0.01549, allocations: 1.196 MB / 278.3 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.931915724184364]