Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.002026/0.002026, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.003364/0.003364, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.059 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Modulation") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 64.7 kB / 379 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 53.38 MB / 432.4 MB, free: 6.992 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003742/0.3647, allocations: 2.021 MB / 434.4 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00129/0.366, allocations: 0.6465 MB / 435.1 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3661, allocations: 7.938 kB / 435.1 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3663, allocations: 43.53 kB / 435.1 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.699e-05/0.3664, allocations: 35.59 kB / 435.2 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.3667, allocations: 87.72 kB / 435.2 MB, free: 4.141 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002837/0.367, allocations: 211.2 kB / 435.4 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3672, allocations: 56.36 kB / 435.5 MB, free: 3.879 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3674, allocations: 83.64 kB / 435.6 MB, free: 3.797 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3675, allocations: 79.5 kB / 435.7 MB, free: 3.719 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.3676, allocations: 12 kB / 435.7 MB, free: 3.707 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.3676, allocations: 16 kB / 435.7 MB, free: 3.691 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.3677, allocations: 39.83 kB / 435.7 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.3678, allocations: 83.48 kB / 435.8 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3681, allocations: 177.9 kB / 436 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.3681, allocations: 3.984 kB / 436 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.554e-06/0.3681, allocations: 4 kB / 436 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.023e-05/0.3681, allocations: 0 / 436 MB, free: 3.395 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.000886/0.369, allocations: 433.2 kB / 436.4 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.369, allocations: 8.031 kB / 436.4 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.3693, allocations: 40.78 kB / 436.5 MB, free: 2.895 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3696, allocations: 190 kB / 436.6 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3696, allocations: 12.38 kB / 436.7 MB, free: 2.672 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.3697, allocations: 16.38 kB / 436.7 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.3701, allocations: 164.5 kB / 436.8 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3701, allocations: 7.875 kB / 436.8 MB, free: 2.473 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3701, allocations: 7.984 kB / 436.8 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3701, allocations: 4 kB / 436.9 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3704, allocations: 91.94 kB / 436.9 MB, free: 2.371 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.3715, allocations: 0.6013 MB / 437.5 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3717, allocations: 135.8 kB / 437.7 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3719, allocations: 50.67 kB / 437.7 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3719, allocations: 0 / 437.7 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3719, allocations: 46.5 kB / 437.8 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.3719, allocations: 0 / 437.8 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0005239/0.3725, allocations: 173.4 kB / 437.9 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.3725, allocations: 106.8 kB / 438 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3728, allocations: 237.9 kB / 438.3 MB, free: 0.9023 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3728, allocations: 25.7 kB / 438.3 MB, free: 0.8711 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3729, allocations: 144.1 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.373, allocations: 51.58 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.3731, allocations: 37.7 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001582/0.3732, allocations: 330.8 kB / 438.9 MB, free: 308 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3733, allocations: 39.98 kB / 438.9 MB, free: 268 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3735, allocations: 94.77 kB / 439 MB, free: 148 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3738, allocations: 142.8 kB / 439.1 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3738, allocations: 3.938 kB / 439.1 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003727/0.3742, allocations: 185.2 kB / 439.3 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3742, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3742, allocations: 4.562 kB / 439.3 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3742, allocations: 8.188 kB / 439.3 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3744, allocations: 39.91 kB / 439.4 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3744, allocations: 4 kB / 439.4 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3745, allocations: 15.89 kB / 439.4 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3745, allocations: 15.98 kB / 439.4 MB, free: 15.7 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.0001332/0.3746, allocations: 134.2 kB / 439.5 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.3747, allocations: 23.86 kB / 439.6 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.3751, allocations: 179 kB / 439.7 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3752, allocations: 4 kB / 439.7 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3752, allocations: 0 / 439.7 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3752, allocations: 3.984 kB / 439.7 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.3757, allocations: 252.4 kB / 440 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3757, allocations: 4 kB / 440 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.3759, allocations: 35.92 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3759, allocations: 0 / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3759, allocations: 4 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3759, allocations: 8.062 kB / 440 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3759, allocations: 7.984 kB / 440 MB, free: 15 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.3765, allocations: 477 kB / 440.5 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3766, allocations: 27.88 kB / 440.5 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.3766, allocations: 8 kB / 440.5 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3768, allocations: 11.98 kB / 440.6 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3769, allocations: 7.984 kB / 440.6 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3769, allocations: 8 kB / 440.6 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001819/0.3771, allocations: 173.2 kB / 440.7 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3771, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000351/0.3774, allocations: 32 kB / 440.8 MB, free: 14.25 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.0001332/0.3775, allocations: 103.2 kB / 440.9 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003604/0.3779, allocations: 115.8 kB / 441 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3779, allocations: 0 / 441 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.378, allocations: 59.91 kB / 441 MB, free: 13.97 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3785, allocations: 12.5 kB / 441.1 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3797, allocations: 0.6242 MB / 441.7 MB, free: 13.3 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.3801, allocations: 0.7475 MB / 442.4 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 6.419e-05/0.3801, allocations: 17.48 kB / 442.4 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3802, allocations: 23.42 kB / 442.5 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.3802, allocations: 3.938 kB / 442.5 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of Templates: time 0.005138/0.3853, allocations: 1.47 MB / 443.9 MB, free: 11.01 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.943181301467121]