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.0009916/0.0009916, allocations: 85.91 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001005/0.001005, allocations: 156.9 kB / 25.61 MB, free: 8.879 MB / 18.57 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.01/1.01, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.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 9.82e-07/9.82e-07, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.37e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002409/0.002423, allocations: 1.532 MB / 275.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.00325, allocations: 494.6 kB / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.003294, allocations: 0.9375 kB / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.003316, allocations: 7.922 kB / 276.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.003382, allocations: 24.36 kB / 276.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.003517, allocations: 37.8 kB / 276.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003619, allocations: 75.64 kB / 276.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.003651, allocations: 8.125 kB / 276.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.003802, allocations: 43.89 kB / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.00386, allocations: 32.52 kB / 276.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.003874, allocations: 5.031 kB / 276.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.003912, allocations: 12 kB / 276.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.003926, allocations: 8 kB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.003951, allocations: 17.3 kB / 276.4 MB, free: 2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.004057, allocations: 59.75 kB / 276.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.00406, allocations: 3.984 kB / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00406, allocations: 0 / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.004063, allocations: 0.75 kB / 276.5 MB, free: 1.938 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.0003984/0.004462, allocations: 412.3 kB / 276.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004492, allocations: 8.031 kB / 276.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.004726, allocations: 32.86 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.004852, allocations: 132.5 kB / 277 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.004859, allocations: 384 / 277 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.004868, allocations: 4.375 kB / 277 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005007, allocations: 97.91 kB / 277.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-06/0.005012, allocations: 192 / 277.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.005022, allocations: 8.125 kB / 277.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.005025, allocations: 4 kB / 277.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.005066, allocations: 7.984 kB / 277.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005192, allocations: 128.6 kB / 277.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.005278, allocations: 81.19 kB / 277.4 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.005316, allocations: 35.11 kB / 277.4 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.005329, allocations: 4 kB / 277.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.005349, allocations: 37.39 kB / 277.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.00535, allocations: 4 kB / 277.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001485/0.005498, allocations: 61.58 kB / 277.5 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.00555, allocations: 114.7 kB / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.005658, allocations: 191.9 kB / 277.8 MB, free: 388 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.005671, allocations: 25.7 kB / 277.8 MB, free: 356 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.005733, allocations: 142.9 kB / 278 MB, free: 208 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.005752, allocations: 7.906 kB / 278 MB, free: 200 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.005791, allocations: 27.34 kB / 278 MB, free: 164 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.005969, allocations: 0.4923 MB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.005988, allocations: 4.375 kB / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.006025, allocations: 39.06 kB / 278.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.006084, allocations: 38.98 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.006085, allocations: 0 / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.006194, allocations: 61.58 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006206, allocations: 4 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006211, allocations: 0 / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006222, allocations: 96 / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.006311, allocations: 19.98 kB / 278.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.006318, allocations: 7.922 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.006364, allocations: 4 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.006371, allocations: 4 kB / 278.7 MB, free: 15.45 MB / 266.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 9.454e-05/0.006465, allocations: 156.6 kB / 278.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.006487, allocations: 15.94 kB / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.006515, allocations: 11.91 kB / 278.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.006518, allocations: 4 kB / 278.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.006521, allocations: 0 / 278.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.006526, allocations: 7.938 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.006633, allocations: 105.2 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006636, allocations: 4 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.006698, allocations: 11.98 kB / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.0067, allocations: 0 / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.006711, allocations: 7.984 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006712, allocations: 0 / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006713, allocations: 0 / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.006856, allocations: 115.7 kB / 279.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.006873, allocations: 19.86 kB / 279.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.006889, allocations: 8 kB / 279.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.006944, allocations: 4 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.006983, allocations: 7.984 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.006988, allocations: 3.938 kB / 279.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.007047, allocations: 141.5 kB / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007048, allocations: 0 / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.007284, allocations: 12 kB / 279.3 MB, free: 14.75 MB / 266.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 8.319e-05/0.007367, allocations: 95.23 kB / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.007482, allocations: 31.67 kB / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007483, allocations: 0 / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.00751, allocations: 19.62 kB / 279.4 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.0001123/0.007622, allocations: 11.98 kB / 279.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.00802, allocations: 181.5 kB / 279.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.008051, allocations: 63.47 kB / 279.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.008079, allocations: 11.98 kB / 279.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.008128, allocations: 74.2 kB / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008129, allocations: 0 / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002094/0.01022, allocations: 0.6882 MB / 280.5 MB, free: 13.51 MB / 266.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 -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.7196743502281606]