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.0008884/0.0008884, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009771/0.0009771, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9638/0.9638, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.313e-05, allocations: 5.266 kB / 273.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002446/0.002469, allocations: 2.004 MB / 275.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.003352, allocations: 0.6451 MB / 276.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.003447, allocations: 7.938 kB / 276.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.003582, allocations: 43.53 kB / 276.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.003644, allocations: 44.03 kB / 276.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003857, allocations: 79.83 kB / 276.3 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.004032, allocations: 215 kB / 276.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.004157, allocations: 58.44 kB / 276.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.004328, allocations: 111.7 kB / 276.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.004402, allocations: 55.75 kB / 276.7 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.004427, allocations: 16 kB / 276.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.00449, allocations: 19.98 kB / 276.8 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.004513, allocations: 35.84 kB / 276.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.00455, allocations: 51.78 kB / 276.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004704, allocations: 131.4 kB / 277 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004706, allocations: 0 / 277 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004707, allocations: 0 / 277 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004711, allocations: 0 / 277 MB, free: 0.8945 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.0003901/0.005101, allocations: 395.8 kB / 277.4 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.005135, allocations: 12.03 kB / 277.4 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.00527, allocations: 44.89 kB / 277.4 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.005445, allocations: 181.3 kB / 277.6 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005457, allocations: 8.375 kB / 277.6 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.005481, allocations: 16.33 kB / 277.6 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.00563, allocations: 141.4 kB / 277.8 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005638, allocations: 192 / 277.8 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.00565, allocations: 4.375 kB / 277.8 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005656, allocations: 11.92 kB / 277.8 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.005715, allocations: 35.95 kB / 277.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.006149, allocations: 452 kB / 278.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.00625, allocations: 87.77 kB / 278.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.00628, allocations: 30.83 kB / 278.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.006293, allocations: 0 / 278.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.006316, allocations: 42.55 kB / 278.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.006317, allocations: 0 / 278.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001725/0.006489, allocations: 89.53 kB / 278.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.006528, allocations: 114.9 kB / 278.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.006628, allocations: 194.5 kB / 278.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.00664, allocations: 25.7 kB / 278.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.006682, allocations: 123.9 kB / 279 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.006715, allocations: 47.58 kB / 279 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.006752, allocations: 37.69 kB / 279 MB, free: 14.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.00683, allocations: 334.8 kB / 279.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.006852, allocations: 8 kB / 279.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.006895, allocations: 58.86 kB / 279.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.00698, allocations: 103.2 kB / 279.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.006984, allocations: 7.938 kB / 279.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001069/0.007091, allocations: 105.5 kB / 279.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.007104, allocations: 4 kB / 279.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.00711, allocations: 4.188 kB / 279.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.007122, allocations: 8 kB / 279.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.007211, allocations: 39.84 kB / 279.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.007215, allocations: 4 kB / 279.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.007258, allocations: 19.88 kB / 279.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.007266, allocations: 4 kB / 279.7 MB, free: 13.9 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 6.604e-05/0.007332, allocations: 117.8 kB / 279.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.007372, allocations: 11.98 kB / 279.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.007519, allocations: 118.7 kB / 280 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007523, allocations: 4 kB / 280 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.007525, allocations: 7.938 kB / 280 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007529, allocations: 0 / 280 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.007739, allocations: 141.7 kB / 280.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007741, allocations: 0 / 280.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.007824, allocations: 35.97 kB / 280.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.007827, allocations: 0 / 280.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.007841, allocations: 11.94 kB / 280.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007843, allocations: 0 / 280.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007844, allocations: 0 / 280.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.008052, allocations: 363.9 kB / 280.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.00807, allocations: 27.94 kB / 280.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.008088, allocations: 11.98 kB / 280.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.008169, allocations: 4 kB / 280.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.008206, allocations: 15.86 kB / 280.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.008212, allocations: 7.984 kB / 280.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.051e-05/0.008252, allocations: 62.19 kB / 280.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008252, allocations: 0 / 280.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.008439, allocations: 35.94 kB / 280.7 MB, free: 12.89 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 7.751e-05/0.008517, allocations: 80.41 kB / 280.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.008615, allocations: 72.69 kB / 280.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.008619, allocations: 4 kB / 280.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.008656, allocations: 36.78 kB / 280.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.008869, allocations: 15.98 kB / 280.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.009527, allocations: 451.5 kB / 281.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.009578, allocations: 83.83 kB / 281.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.009618, allocations: 17.66 kB / 281.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.009678, allocations: 71.36 kB / 281.5 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009678, allocations: 0 / 281.5 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.003323/0.013, allocations: 1.189 MB / 282.7 MB, free: 10.84 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",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.5435046181082726]