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.0008768/0.0008768, 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.001183/0.001183, allocations: 171.5 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.883/0.883, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.352e-06/1.352e-06, allocations: 3.938 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.603e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00247/0.002486, allocations: 1.968 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.003406, allocations: 0.6463 MB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00351, allocations: 7.938 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.003653, allocations: 39.53 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.003735, allocations: 51.53 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.003987, allocations: 79.77 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.004193, allocations: 211.1 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004316, allocations: 54.5 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.004497, allocations: 111.7 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.004583, allocations: 55.81 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.004606, allocations: 12 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.004651, allocations: 20 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.004681, allocations: 35.83 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.004728, allocations: 51.84 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.004886, allocations: 131.4 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004888, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004889, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.004892, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.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.0004343/0.005326, allocations: 407.7 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.005357, allocations: 12.03 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.005512, allocations: 48.83 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.005691, allocations: 169.4 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.005706, allocations: 12.38 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.005734, allocations: 16.31 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005901, allocations: 145.4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005909, allocations: 192 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.00592, allocations: 4.375 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.005928, allocations: 7.938 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.892e-05/0.005987, allocations: 43.91 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.006492, allocations: 436.1 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.006614, allocations: 87.77 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.006654, allocations: 38.75 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.006669, allocations: 4 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.006692, allocations: 38.55 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.006694, allocations: 0 / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002052/0.006899, allocations: 93.58 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.006948, allocations: 118.7 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.007062, allocations: 186.5 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.007076, allocations: 29.7 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.007125, allocations: 119.9 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.007166, allocations: 51.58 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.007209, allocations: 29.69 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.007297, allocations: 338.8 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.00732, allocations: 8 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.007378, allocations: 67.34 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.00748, allocations: 98.83 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007482, allocations: 0 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001389/0.007621, allocations: 105.5 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.007631, allocations: 8.188 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007636, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007648, allocations: 4 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.007747, allocations: 39.91 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.007755, allocations: 11.92 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.007814, allocations: 15.83 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.007824, allocations: 4 kB / 279.6 MB, free: 10.72 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 7.242e-05/0.007896, allocations: 129.8 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.007956, allocations: 15.98 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.008112, allocations: 106.7 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.008117, allocations: 8 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008121, allocations: 3.938 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008125, allocations: 3.984 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.008419, allocations: 137.7 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008421, allocations: 4 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.008528, allocations: 31.98 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00853, allocations: 0 / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.008543, allocations: 0 / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.008545, allocations: 4 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008546, allocations: 0 / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.008777, allocations: 377.8 kB / 280.4 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.008799, allocations: 23.8 kB / 280.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.008818, allocations: 4 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.008947, allocations: 4 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.008984, allocations: 19.91 kB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.008992, allocations: 4.125 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.041e-05/0.009042, allocations: 64.73 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009042, allocations: 0 / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.009347, allocations: 31.95 kB / 280.6 MB, free: 9.707 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.551e-05/0.009422, allocations: 84.36 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.009543, allocations: 74.41 kB / 280.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009546, allocations: 0 / 280.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.009599, allocations: 48.77 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.009905, allocations: 12 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.01061, allocations: 451.6 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.01067, allocations: 79.83 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.01072, allocations: 21.45 kB / 281.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.01079, allocations: 63.38 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01079, allocations: 0 / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of Templates: time 0.003181/0.01397, allocations: 1.189 MB / 282.6 MB, free: 7.645 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 -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.557993593160063]