Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007658/0.0007658, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001806, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007006/0.0007006, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009034/0.001604, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09897/1.105, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.873e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001968/0.001987, allocations: 1.591 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006438/0.002631, allocations: 0.4915 MB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.002684, allocations: 0 / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.00271, allocations: 7.922 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.002762, allocations: 23.81 kB / 247.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.002882, allocations: 39.81 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003005, allocations: 71.67 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.003058, allocations: 8.172 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.003275, allocations: 63.77 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.003331, allocations: 27.91 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003347, allocations: 4 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.003414, allocations: 19.98 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.00343, allocations: 11.94 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.003449, allocations: 8 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.00356, allocations: 43.84 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.003575, allocations: 0 / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003576, allocations: 0 / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.003598, allocations: 4 kB / 247.4 MB, free: 11.22 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004183/0.004017, allocations: 292.2 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.00405, allocations: 8.625 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.004268, allocations: 114 kB / 247.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.004406, allocations: 125.7 kB / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.004414, allocations: 384 / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.004422, allocations: 4.375 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.00456, allocations: 85.48 kB / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004568, allocations: 192 / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004577, allocations: 4.125 kB / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.004581, allocations: 0 / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.004617, allocations: 15.92 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.038e-05/0.004708, allocations: 90.64 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.004776, allocations: 63.75 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.004799, allocations: 18.7 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.004813, allocations: 0 / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.004837, allocations: 38.5 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004837, allocations: 0 / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001323/0.00497, allocations: 61.61 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.005016, allocations: 103.2 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.005088, allocations: 141.7 kB / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005099, allocations: 25.7 kB / 248.6 MB, free: 9.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.005125, allocations: 92.11 kB / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.005154, allocations: 11.91 kB / 248.7 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.005184, allocations: 13.72 kB / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.005261, allocations: 322.8 kB / 249 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.00528, allocations: 3.938 kB / 249 MB, free: 9.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.005304, allocations: 22.56 kB / 249 MB, free: 9.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.005362, allocations: 42.55 kB / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.005366, allocations: 4 kB / 249.1 MB, free: 9.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.005434, allocations: 49.62 kB / 249.1 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005447, allocations: 4 kB / 249.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005452, allocations: 3.938 kB / 249.1 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.005462, allocations: 4 kB / 249.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.005569, allocations: 19.97 kB / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005572, allocations: 0 / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.005604, allocations: 12.02 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.005611, allocations: 7.984 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.624e-05/0.005667, allocations: 113.8 kB / 249.3 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.005677, allocations: 8 kB / 249.3 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.005704, allocations: 15.95 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.005706, allocations: 0 / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005708, allocations: 0 / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.005713, allocations: 7.938 kB / 249.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.848e-05/0.005782, allocations: 73.88 kB / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005783, allocations: 0 / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.005831, allocations: 15.98 kB / 249.4 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.00584, allocations: 19.88 kB / 249.4 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005841, allocations: 4.031 kB / 249.4 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005848, allocations: 3.984 kB / 249.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.00585, allocations: 4 kB / 249.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005852, allocations: 0 / 249.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/0.005951, allocations: 82.77 kB / 249.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005962, allocations: 4 kB / 249.5 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.968e-05/0.005991, allocations: 8 kB / 249.5 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.006025, allocations: 7.922 kB / 249.5 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.00603, allocations: 11.98 kB / 249.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.203e-05/0.006052, allocations: 28.83 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006052, allocations: 0 / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001016/0.006154, allocations: 11.94 kB / 249.6 MB, free: 8.746 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.317e-05/0.006247, allocations: 76.36 kB / 249.7 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.00634, allocations: 24.78 kB / 249.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.006347, allocations: 0 / 249.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.006372, allocations: 20.84 kB / 249.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.006479, allocations: 12.38 kB / 249.7 MB, free: 8.598 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.007276, allocations: 186 kB / 249.9 MB, free: 8.383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.007312, allocations: 59.34 kB / 250 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.00734, allocations: 4 kB / 250 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.007395, allocations: 63.36 kB / 250 MB, free: 8.238 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007396, allocations: 0 / 250 MB, free: 8.238 MB / 250.7 MB Notification: Performance of Templates: time 0.002095/0.009491, allocations: 0.5845 MB / 250.6 MB, free: 7.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.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.43425106536597]