Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001284/0.001284, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002501/0.003786, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001428/0.001428, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00209/0.003518, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.171/1.171, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1306/1.302, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.427e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00398/0.004014, allocations: 1.602 MB / 246.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.005055, allocations: 0.4954 MB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.005147, allocations: 0 / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.005195, allocations: 7.922 kB / 246.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.005299, allocations: 15.81 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.00556, allocations: 47.81 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.005735, allocations: 71.66 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.005793, allocations: 4.188 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.00616, allocations: 67.77 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.006249, allocations: 27.91 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.006278, allocations: 4 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.006388, allocations: 15.97 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.006422, allocations: 11.94 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.006454, allocations: 8 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.00666, allocations: 43.84 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.427e-05/0.006684, allocations: 4 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.006686, allocations: 4 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.006706, allocations: 0 / 247.1 MB, free: 11.77 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.0007179/0.007424, allocations: 288.3 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.007482, allocations: 12.03 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.00793, allocations: 114 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.00822, allocations: 120.1 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.00824, allocations: 4.375 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.008268, allocations: 12.31 kB / 247.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.008498, allocations: 89.41 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.008508, allocations: 192 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.008522, allocations: 4.125 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.008531, allocations: 4 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.008577, allocations: 7.938 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.008736, allocations: 86.67 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.008843, allocations: 59.78 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.00888, allocations: 26.7 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.008907, allocations: 7.984 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.008946, allocations: 30.56 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.008948, allocations: 0 / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.00916, allocations: 57.56 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.009227, allocations: 106.8 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.009344, allocations: 134.6 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.009362, allocations: 25.7 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.009407, allocations: 92.48 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.009451, allocations: 7.953 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.009501, allocations: 21.7 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.009638, allocations: 318.8 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.00967, allocations: 3.984 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.009712, allocations: 26.58 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.00979, allocations: 34.48 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.009793, allocations: 0 / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/0.009924, allocations: 57.61 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.009944, allocations: 4 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.009954, allocations: 4 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.009973, allocations: 0 / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01012, allocations: 23.92 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01013, allocations: 0 / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.01018, allocations: 15.88 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01019, allocations: 4 kB / 248.9 MB, free: 9.766 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 9.173e-05/0.01029, allocations: 105.8 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.01031, allocations: 12.08 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.01034, allocations: 11.97 kB / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01035, allocations: 0 / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01035, allocations: 0 / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.01036, allocations: 11.88 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.0105, allocations: 73.88 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0105, allocations: 0 / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.0106, allocations: 19.97 kB / 249.1 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01062, allocations: 8.047 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.01062, allocations: 3.984 kB / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01063, allocations: 4 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01064, allocations: 12 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.01064, allocations: 3.938 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.01082, allocations: 82.77 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01084, allocations: 4 kB / 249.2 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.0109, allocations: 7.984 kB / 249.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01095, allocations: 7.984 kB / 249.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.01096, allocations: 4 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.01099, allocations: 26.23 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01099, allocations: 0 / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.0112, allocations: 11.94 kB / 249.3 MB, free: 9.309 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 0.0001427/0.01134, allocations: 88.3 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01147, allocations: 20.84 kB / 249.4 MB, free: 9.188 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.01149, allocations: 4 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.01153, allocations: 24.72 kB / 249.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.0117, allocations: 18.95 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.01306, allocations: 186.6 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01311, allocations: 55.36 kB / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.01315, allocations: 7.984 kB / 249.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.01323, allocations: 51.38 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01323, allocations: 0 / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of Templates: time 0.003358/0.01659, allocations: 0.5928 MB / 250.3 MB, free: 8.203 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8977617900818586]