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.001405/0.001405, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001412/0.001412, allocations: 153.4 kB / 24.26 MB, free: 180 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.53/1.53, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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 1.813e-06/1.813e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.794e-05, allocations: 6.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.005088/0.005126, allocations: 1.89 MB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.006787, allocations: 0.5607 MB / 269.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.007033, allocations: 11.88 kB / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.007307, allocations: 43.52 kB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.007494, allocations: 31.67 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.007906, allocations: 75.72 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.008345, allocations: 211.1 kB / 270.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.008563, allocations: 40.58 kB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.008883, allocations: 111.7 kB / 270.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.009052, allocations: 51.81 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.009099, allocations: 12 kB / 270.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.009136, allocations: 12 kB / 270.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.009197, allocations: 39.83 kB / 270.4 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.009299, allocations: 47.86 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.009672, allocations: 179.2 kB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.009678, allocations: 0 / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009679, allocations: 0 / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.00969, allocations: 0 / 270.6 MB, free: 3.426 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.001057/0.01075, allocations: 429.1 kB / 271 MB, free: 2.977 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.0108, allocations: 12.92 kB / 271 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.01092, allocations: 32.8 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.01131, allocations: 173.2 kB / 271.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.01134, allocations: 16.31 kB / 271.2 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.0114, allocations: 16.38 kB / 271.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.01191, allocations: 164.3 kB / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01192, allocations: 0 / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.01195, allocations: 8 kB / 271.4 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01196, allocations: 4 kB / 271.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.01231, allocations: 95.81 kB / 271.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.01368, allocations: 0.5394 MB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.01407, allocations: 131.8 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.01425, allocations: 54.61 kB / 272.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.01429, allocations: 4 kB / 272.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.01433, allocations: 34.56 kB / 272.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.01433, allocations: 0 / 272.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007825/0.01511, allocations: 181.5 kB / 272.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.01522, allocations: 110.8 kB / 272.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.01554, allocations: 191.1 kB / 272.8 MB, free: 1.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.01557, allocations: 25.7 kB / 272.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.01573, allocations: 143.9 kB / 272.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.01581, allocations: 55.53 kB / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.01591, allocations: 33.7 kB / 273 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.01615, allocations: 326.8 kB / 273.3 MB, free: 484 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.01632, allocations: 39.97 kB / 273.4 MB, free: 444 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.01655, allocations: 94.88 kB / 273.5 MB, free: 324 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.01696, allocations: 147.2 kB / 273.6 MB, free: 152 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.01697, allocations: 4 kB / 273.6 MB, free: 148 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005994/0.01757, allocations: 189.4 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.0176, allocations: 10.66 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.01761, allocations: 0 / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.01764, allocations: 4 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.01787, allocations: 31.92 kB / 273.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.01788, allocations: 7.984 kB / 273.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.01805, allocations: 11.95 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.01809, allocations: 12.19 kB / 273.9 MB, free: 15.88 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 0.0001732/0.01826, allocations: 121.8 kB / 274 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.01841, allocations: 35.77 kB / 274 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.01899, allocations: 178.6 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.019, allocations: 4 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.019, allocations: 0 / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.01901, allocations: 4 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.01967, allocations: 185.2 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01967, allocations: 4 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.01994, allocations: 39.81 kB / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.01995, allocations: 3.938 kB / 274.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.01997, allocations: 4 kB / 274.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.01998, allocations: 3.938 kB / 274.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.01999, allocations: 3.984 kB / 274.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.02086, allocations: 469.8 kB / 274.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.02092, allocations: 23.73 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.02096, allocations: 8.062 kB / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.02128, allocations: 8 kB / 274.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.02136, allocations: 15.97 kB / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.02138, allocations: 4 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.02158, allocations: 152.3 kB / 275.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02158, allocations: 0 / 275.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006601/0.02224, allocations: 35.94 kB / 275.1 MB, free: 14.53 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 0.0001653/0.0224, allocations: 91.25 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.02287, allocations: 120 kB / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02287, allocations: 0 / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.02308, allocations: 59.91 kB / 275.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.02379, allocations: 15.94 kB / 275.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.02525, allocations: 0.5272 MB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.02546, allocations: 129.7 kB / 276.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.02557, allocations: 21.47 kB / 276.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.02566, allocations: 24.48 kB / 276.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02566, allocations: 0 / 276.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Templates: time 0.005881/0.03154, allocations: 1.153 MB / 277.3 MB, free: 12.34 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.461553361965343]