Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007611/0.0007611, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002933/0.002933, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9207/0.9207, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.608e-05/3.79e-05, allocations: 8.531 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002512/0.00255, allocations: 1.923 MB / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003596, allocations: 0.6153 MB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00371, allocations: 7.938 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.003875, allocations: 39.53 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.003945, allocations: 47.53 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.004262, allocations: 83.77 kB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.004485, allocations: 207.1 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.004653, allocations: 56.92 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.004874, allocations: 107.8 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.004965, allocations: 51.81 kB / 328.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.00499, allocations: 15.94 kB / 329 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.005041, allocations: 19.98 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.005069, allocations: 31.84 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.005113, allocations: 55.84 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.005329, allocations: 187.2 kB / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005332, allocations: 0 / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005333, allocations: 0 / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005338, allocations: 0 / 329.2 MB, free: 11.97 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.0005874/0.005925, allocations: 425.1 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.005974, allocations: 12.03 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.00614, allocations: 36.78 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.006415, allocations: 193.3 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.006433, allocations: 12.38 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.006472, allocations: 16.36 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.006727, allocations: 160.7 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.006739, allocations: 192 / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.006757, allocations: 8.375 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.006766, allocations: 7.938 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.006902, allocations: 87.94 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.007557, allocations: 0.5317 MB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.007781, allocations: 127.8 kB / 330.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.007853, allocations: 54.62 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.007873, allocations: 7.938 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.007904, allocations: 46.48 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.007905, allocations: 0 / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003382/0.008244, allocations: 177.8 kB / 331.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.008293, allocations: 106.8 kB / 331.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.008439, allocations: 195.2 kB / 331.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.008453, allocations: 25.7 kB / 331.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.008529, allocations: 147.8 kB / 331.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.008576, allocations: 51.58 kB / 331.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.008618, allocations: 37.64 kB / 331.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.008717, allocations: 330.8 kB / 332 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.008782, allocations: 36.11 kB / 332 MB, free: 8.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.008866, allocations: 98.73 kB / 332.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.009034, allocations: 146.8 kB / 332.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009036, allocations: 4 kB / 332.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002081/0.009244, allocations: 173.4 kB / 332.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.009258, allocations: 4 kB / 332.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.009265, allocations: 7.938 kB / 332.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.009279, allocations: 4 kB / 332.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.009362, allocations: 35.91 kB / 332.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.009369, allocations: 4.188 kB / 332.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.009419, allocations: 19.89 kB / 332.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.009434, allocations: 11.98 kB / 332.5 MB, free: 8.414 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 8.092e-05/0.009515, allocations: 129.8 kB / 332.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.009555, allocations: 15.91 kB / 332.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.009809, allocations: 182.6 kB / 332.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.009812, allocations: 4 kB / 332.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.009816, allocations: 0 / 332.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.009823, allocations: 7.984 kB / 332.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.01009, allocations: 189.2 kB / 333 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.0101, allocations: 4 kB / 333.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.01019, allocations: 35.91 kB / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01019, allocations: 0 / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.01021, allocations: 8 kB / 333.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01021, allocations: 3.938 kB / 333.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01022, allocations: 7.938 kB / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.01065, allocations: 468.9 kB / 333.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.01068, allocations: 23.86 kB / 333.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.0107, allocations: 11.98 kB / 333.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.01079, allocations: 4.188 kB / 333.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.01085, allocations: 19.97 kB / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01086, allocations: 8 kB / 333.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.01095, allocations: 147.2 kB / 333.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01095, allocations: 0 / 333.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.0112, allocations: 39.89 kB / 333.8 MB, free: 7.07 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.0001381/0.01133, allocations: 91.25 kB / 333.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.01158, allocations: 119.7 kB / 334 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01158, allocations: 0 / 334 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.01166, allocations: 63.89 kB / 334.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01196, allocations: 12 kB / 334.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.01279, allocations: 0.5498 MB / 334.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.01289, allocations: 129.7 kB / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.01295, allocations: 28.48 kB / 334.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01295, allocations: 0 / 334.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of Templates: time 0.003325/0.01628, allocations: 2.153 MB / 336.9 MB, free: 3.859 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.559931674040854]