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.000838/0.000838, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00389/0.00389, allocations: 156.8 kB / 24.7 MB, free: 9.441 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 0.8555/0.8555, allocations: 177 MB / 204.9 MB, free: 5.75 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 1.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.829e-05, allocations: 6.219 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001759/0.001788, allocations: 1.492 MB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005904/0.002378, allocations: 478.7 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.002431, allocations: 7.938 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.002459, allocations: 7.922 kB / 327.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.002535, allocations: 15.8 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.002728, allocations: 43.88 kB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002841, allocations: 75.66 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.002887, allocations: 4.125 kB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.003057, allocations: 51.83 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.003108, allocations: 31.91 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.003124, allocations: 4 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.003167, allocations: 11.98 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.003179, allocations: 4 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003202, allocations: 23.91 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003331, allocations: 71.78 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003333, allocations: 0 / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003334, allocations: 0 / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.003339, allocations: 0 / 328.1 MB, free: 13.09 MB / 298.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.003757, allocations: 326 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003793, allocations: 11.98 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.003975, allocations: 32.86 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.00415, allocations: 129.7 kB / 328.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.004159, allocations: 384 / 328.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.004168, allocations: 4.375 kB / 328.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.004344, allocations: 88.72 kB / 328.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.004351, allocations: 4.188 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004362, allocations: 4.125 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.004366, allocations: 0 / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.004498, allocations: 63.94 kB / 328.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.004627, allocations: 135 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.004763, allocations: 91.81 kB / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.004838, allocations: 54.55 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.004851, allocations: 4 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.00487, allocations: 34.56 kB / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004871, allocations: 0 / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003008/0.005172, allocations: 137.5 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.005214, allocations: 115.1 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.005289, allocations: 136.8 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.0053, allocations: 25.7 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.005335, allocations: 100.1 kB / 329.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.005362, allocations: 11.84 kB / 329.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.005391, allocations: 25.64 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.005465, allocations: 314.8 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.005534, allocations: 27.97 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.005602, allocations: 54.53 kB / 330 MB, free: 10.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.005733, allocations: 82.45 kB / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005735, allocations: 4 kB / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001629/0.005898, allocations: 109.5 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.005912, allocations: 7.984 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.005918, allocations: 4 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005931, allocations: 3.938 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.006015, allocations: 15.98 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006019, allocations: 0 / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.00606, allocations: 11.98 kB / 330.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.006066, allocations: 4 kB / 330.2 MB, free: 10.72 MB / 298.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 6.363e-05/0.00613, allocations: 117.9 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.00614, allocations: 7.953 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.006164, allocations: 15.92 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.006167, allocations: 4.031 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.006174, allocations: 7.984 kB / 330.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006176, allocations: 0 / 330.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.103e-05/0.006247, allocations: 121.3 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006248, allocations: 3.938 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.006439, allocations: 15.98 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006441, allocations: 4 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006449, allocations: 3.984 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.006451, allocations: 4 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.006453, allocations: 3.938 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.006632, allocations: 138.7 kB / 330.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.006642, allocations: 7.891 kB / 330.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.006655, allocations: 7.938 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.006693, allocations: 19.98 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.006735, allocations: 11.92 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006739, allocations: 4 kB / 330.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.006779, allocations: 102.1 kB / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006779, allocations: 0 / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001248/0.006904, allocations: 15.98 kB / 330.8 MB, free: 10.05 MB / 298.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 7.512e-05/0.006979, allocations: 95.19 kB / 330.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.007159, allocations: 71.88 kB / 331 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.007161, allocations: 0 / 331 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.00723, allocations: 43.95 kB / 331 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.007353, allocations: 3.938 kB / 331 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.007702, allocations: 220.4 kB / 331.2 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.007751, allocations: 75.19 kB / 331.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.007791, allocations: 16.48 kB / 331.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007791, allocations: 0 / 331.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of Templates: time 0.001603/0.009394, allocations: 0.93 MB / 332.2 MB, free: 8.535 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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: 3.9966881228610873]