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.001006/0.001006, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001305/0.001305, allocations: 143.5 kB / 24.89 MB, free: 8.695 MB / 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 0.9478/0.9478, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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.714e-06/1.714e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.383e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002598/0.002622, allocations: 1.986 MB / 270.5 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.003472, allocations: 0.5918 MB / 271.1 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.003562, allocations: 7.938 kB / 271.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.003705, allocations: 43.53 kB / 271.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.003775, allocations: 35.59 kB / 271.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.003979, allocations: 67.8 kB / 271.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.004184, allocations: 211.1 kB / 271.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.004328, allocations: 50.52 kB / 271.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.004506, allocations: 107.7 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.004597, allocations: 55.75 kB / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.004624, allocations: 12 kB / 271.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.004642, allocations: 16 kB / 271.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.004676, allocations: 35.83 kB / 271.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.004723, allocations: 47.84 kB / 271.8 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004893, allocations: 123.4 kB / 271.9 MB, free: 2.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004897, allocations: 8 kB / 271.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004898, allocations: 0 / 271.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.004904, allocations: 0 / 271.9 MB, free: 2.77 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.0004419/0.005345, allocations: 395.8 kB / 272.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.005383, allocations: 8.922 kB / 272.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.005426, allocations: 24.92 kB / 272.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.005591, allocations: 169.3 kB / 272.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005602, allocations: 16.3 kB / 272.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.005627, allocations: 16.38 kB / 272.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.005785, allocations: 145 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005793, allocations: 4 kB / 272.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.005802, allocations: 4 kB / 272.6 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.005809, allocations: 4 kB / 272.7 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.005855, allocations: 35.91 kB / 272.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.006342, allocations: 452.1 kB / 273.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.006458, allocations: 87.77 kB / 273.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.006493, allocations: 34.83 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.00651, allocations: 4 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.006533, allocations: 34.5 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.053e-06/0.006535, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001974/0.006732, allocations: 106 kB / 273.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.006775, allocations: 102.8 kB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006882, allocations: 190.1 kB / 273.7 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006895, allocations: 29.7 kB / 273.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.006946, allocations: 123.9 kB / 273.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.006985, allocations: 51.56 kB / 273.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.007023, allocations: 37.81 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.007112, allocations: 326.8 kB / 274.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.007135, allocations: 11.98 kB / 274.2 MB, free: 208 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.007187, allocations: 69.66 kB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.007283, allocations: 98.73 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007285, allocations: 0 / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001184/0.007403, allocations: 109.4 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.007418, allocations: 7.938 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.007426, allocations: 4 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.007438, allocations: 0 / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.007538, allocations: 43.91 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.007542, allocations: 0 / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.00759, allocations: 15.89 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.007599, allocations: 4.188 kB / 274.6 MB, free: 15.8 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.142e-05/0.00767, allocations: 129.8 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.007714, allocations: 15.92 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.007873, allocations: 114.6 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007876, allocations: 0 / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.007878, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.007883, allocations: 3.984 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.008124, allocations: 129.7 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008126, allocations: 0 / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.008219, allocations: 35.97 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.008222, allocations: 8 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.008236, allocations: 0 / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.008239, allocations: 7.875 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.008241, allocations: 4 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.008463, allocations: 368.9 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.008481, allocations: 19.91 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.0085, allocations: 15.94 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.008593, allocations: 4 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.008633, allocations: 19.91 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.00864, allocations: 4 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.008681, allocations: 61.95 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008681, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.008895, allocations: 39.89 kB / 275.6 MB, free: 14.79 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 8.611e-05/0.008981, allocations: 72.42 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.009093, allocations: 68.69 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.009098, allocations: 4 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.009142, allocations: 44.77 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.009371, allocations: 16.38 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.01005, allocations: 439.4 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.01011, allocations: 83.69 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.01015, allocations: 21.47 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.01021, allocations: 67.36 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01021, allocations: 4 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002723/0.01293, allocations: 1.182 MB / 277.5 MB, free: 12.74 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",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.638231467921287]