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.00206/0.00206, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001986/0.001986, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 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 1.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.827e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003375/0.003404, allocations: 1.943 MB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004607, allocations: 0.6232 MB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004713, allocations: 7.875 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.004877, allocations: 39.59 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.00498, allocations: 47.53 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.005282, allocations: 79.81 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.005565, allocations: 215.1 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.005718, allocations: 56.48 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.005951, allocations: 107.7 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.006076, allocations: 63.73 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.006109, allocations: 12 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.006169, allocations: 24 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.006209, allocations: 31.84 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.00628, allocations: 51.83 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.006667, allocations: 179.3 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00667, allocations: 0 / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006671, allocations: 0 / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006676, allocations: 0 / 275.8 MB, free: 14.36 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.000787/0.007463, allocations: 0.5265 MB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.007502, allocations: 8.031 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.007742, allocations: 52.78 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.008044, allocations: 196.1 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.008061, allocations: 8.375 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.008096, allocations: 16.38 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.008417, allocations: 169.2 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.008427, allocations: 192 / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.008446, allocations: 12.36 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.00846, allocations: 7.938 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.008671, allocations: 87.89 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.009744, allocations: 0.7042 MB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.01004, allocations: 153.2 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01016, allocations: 59.17 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.01018, allocations: 4 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.01022, allocations: 41.38 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01022, allocations: 0 / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004992/0.01072, allocations: 173.4 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.0108, allocations: 106.8 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.01108, allocations: 277.8 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.0111, allocations: 29.7 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.01125, allocations: 194.6 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.01131, allocations: 51.59 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.01139, allocations: 43.36 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.01166, allocations: 0.504 MB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01177, allocations: 35.97 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.01196, allocations: 121.5 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.01224, allocations: 157.4 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01224, allocations: 0 / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003619/0.01261, allocations: 181.4 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01262, allocations: 8 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01263, allocations: 3.938 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01265, allocations: 7.984 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01281, allocations: 31.92 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01282, allocations: 4 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.01292, allocations: 11.89 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.01294, allocations: 15.98 kB / 279.7 MB, free: 10.06 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.0001512/0.0131, allocations: 176.7 kB / 279.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.01318, allocations: 23.91 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.01357, allocations: 170.6 kB / 280.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.01359, allocations: 7.984 kB / 280.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.0136, allocations: 0.5625 kB / 280.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.01361, allocations: 4 kB / 280.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.01407, allocations: 216.5 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01407, allocations: 4 kB / 280.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.01426, allocations: 39.91 kB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01426, allocations: 0 / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.01428, allocations: 11.94 kB / 280.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01429, allocations: 3.938 kB / 280.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01429, allocations: 4 kB / 280.4 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.01499, allocations: 0.5853 MB / 281 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.01503, allocations: 23.84 kB / 281 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.01506, allocations: 7.938 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.01523, allocations: 11.98 kB / 281 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.0153, allocations: 7.984 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.01531, allocations: 7.984 kB / 281 MB, free: 8.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.01549, allocations: 199.1 kB / 281.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01549, allocations: 0 / 281.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.01585, allocations: 39.89 kB / 281.2 MB, free: 8.461 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.0001323/0.01598, allocations: 91.25 kB / 281.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.01632, allocations: 123.5 kB / 281.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01632, allocations: 0 / 281.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01647, allocations: 68.75 kB / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.01687, allocations: 23.95 kB / 281.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.0179, allocations: 0.5339 MB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.01805, allocations: 137.7 kB / 282.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.01811, allocations: 13.48 kB / 282.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.01817, allocations: 24.5 kB / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01817, allocations: 0 / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Templates: time 0.005082/0.02326, allocations: 1.167 MB / 283.4 MB, free: 6.215 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.749178088037297]