Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001065/0.001065, allocations: 80.72 kB / 22.21 MB, free: 2.289 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.001275/0.001275, allocations: 147 kB / 25.6 MB, free: 8.93 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.9946/0.9946, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 269.2 MB, free: 9.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.657e-05, allocations: 7.781 kB / 269.2 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001805/0.001822, allocations: 1.519 MB / 270.7 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005733/0.002395, allocations: 440.5 kB / 271.1 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.002432, allocations: 0.5312 kB / 271.1 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.002457, allocations: 7.156 kB / 271.1 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.002541, allocations: 23.8 kB / 271.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.002676, allocations: 31.83 kB / 271.2 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.002757, allocations: 67.72 kB / 271.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.002795, allocations: 4 kB / 271.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.002923, allocations: 47.83 kB / 271.3 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.002972, allocations: 28.81 kB / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.002989, allocations: 4 kB / 271.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.002999, allocations: 5.281 kB / 271.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.003018, allocations: 11.92 kB / 271.4 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.00304, allocations: 15.98 kB / 271.4 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.00313, allocations: 47.81 kB / 271.4 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003132, allocations: 1.469 kB / 271.4 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003133, allocations: 0 / 271.4 MB, free: 7.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003136, allocations: 0 / 271.4 MB, free: 7.645 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.0003515/0.003488, allocations: 401 kB / 271.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.003515, allocations: 12.56 kB / 271.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.003539, allocations: 8.891 kB / 271.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.14e-05/0.003611, allocations: 128.1 kB / 272 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.003618, allocations: 2.344 kB / 272 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.003626, allocations: 4.375 kB / 272 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.003746, allocations: 101.5 kB / 272.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.003752, allocations: 0 / 272.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003759, allocations: 4 kB / 272.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.003763, allocations: 1.344 kB / 272.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.003795, allocations: 11.92 kB / 272.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.959e-05/0.003895, allocations: 121.3 kB / 272.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.003972, allocations: 85.77 kB / 272.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.004002, allocations: 36.22 kB / 272.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.004015, allocations: 4 kB / 272.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.004033, allocations: 37.39 kB / 272.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.004034, allocations: 0.5 kB / 272.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001321/0.004166, allocations: 73.45 kB / 272.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.004204, allocations: 106.8 kB / 272.5 MB, free: 6.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.004275, allocations: 181.9 kB / 272.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004285, allocations: 29.64 kB / 272.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.004327, allocations: 146.8 kB / 272.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.00435, allocations: 7.906 kB / 272.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.004378, allocations: 23.36 kB / 272.9 MB, free: 5.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.004485, allocations: 0.4884 MB / 273.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.004503, allocations: 4.359 kB / 273.4 MB, free: 5.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.004529, allocations: 35.06 kB / 273.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.004578, allocations: 42.98 kB / 273.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.004579, allocations: 0 / 273.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.22e-05/0.004651, allocations: 57.58 kB / 273.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.004662, allocations: 8 kB / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.004665, allocations: 0 / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-06/0.004672, allocations: 4.031 kB / 273.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.00474, allocations: 19.98 kB / 273.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.004743, allocations: 3.938 kB / 273.6 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.004775, allocations: 7.984 kB / 273.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.004781, allocations: 4 kB / 273.6 MB, free: 5.199 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 6.788e-05/0.004849, allocations: 160.6 kB / 273.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.004862, allocations: 7.953 kB / 273.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.004885, allocations: 19.91 kB / 273.8 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.004889, allocations: 3.938 kB / 273.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004892, allocations: 4 kB / 273.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004894, allocations: 4 kB / 273.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.004979, allocations: 105.2 kB / 273.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00498, allocations: 0 / 273.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.005019, allocations: 15.98 kB / 273.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005021, allocations: 0 / 273.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.005027, allocations: 0 / 273.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005028, allocations: 4 kB / 273.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.00503, allocations: 4 kB / 273.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.158e-05/0.005122, allocations: 115.6 kB / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.005129, allocations: 7.953 kB / 274 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.005139, allocations: 4 kB / 274 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.005171, allocations: 15.98 kB / 274 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.005198, allocations: 7.922 kB / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.005202, allocations: 4 kB / 274.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.005237, allocations: 135.1 kB / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005237, allocations: 0 / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005366, allocations: 16 kB / 274.2 MB, free: 4.504 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 8.266e-05/0.005449, allocations: 91.19 kB / 274.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.005526, allocations: 31.66 kB / 274.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005527, allocations: 0 / 274.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.005554, allocations: 23.61 kB / 274.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.005666, allocations: 10.81 kB / 274.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.006048, allocations: 193.2 kB / 274.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.006074, allocations: 59.72 kB / 274.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.006101, allocations: 12.12 kB / 274.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.006149, allocations: 74.19 kB / 274.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006149, allocations: 0 / 274.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of Templates: time 0.001875/0.008024, allocations: 0.6653 MB / 275.4 MB, free: 3.285 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8161570341326296]