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.001848/0.001848, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.00223/0.00223, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.449/1.449, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001654/0.001654, allocations: 47.92 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2835, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002875/0.2864, allocations: 1.484 MB / 425.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2875, allocations: 421.6 kB / 425.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.2875, allocations: 0 / 425.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.2876, allocations: 7.922 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.382e-05/0.2877, allocations: 15.81 kB / 425.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.2879, allocations: 31.89 kB / 425.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.288, allocations: 63.78 kB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.749e-05/0.2881, allocations: 15.92 kB / 425.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2883, allocations: 35.84 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.2884, allocations: 27.91 kB / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.2884, allocations: 4 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.032e-05/0.2884, allocations: 4 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.2884, allocations: 15.92 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.2885, allocations: 19.88 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2887, allocations: 58.69 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2887, allocations: 0 / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2887, allocations: 0 / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2887, allocations: 0 / 426 MB, free: 12.29 MB / 334.1 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.0009104/0.2896, allocations: 321.7 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2896, allocations: 12.03 kB / 426.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.2897, allocations: 4.891 kB / 426.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2898, allocations: 122.4 kB / 426.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2899, allocations: 8.297 kB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.2899, allocations: 7.922 kB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2902, allocations: 92.22 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2902, allocations: 0 / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2903, allocations: 0 / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2903, allocations: 0 / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2905, allocations: 63.88 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.2907, allocations: 131.1 kB / 426.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.2912, allocations: 99.75 kB / 426.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.2914, allocations: 54.59 kB / 426.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2914, allocations: 3.938 kB / 426.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.2915, allocations: 34.56 kB / 426.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.2915, allocations: 0 / 426.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007899/0.2923, allocations: 145.5 kB / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.2924, allocations: 106.8 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.2925, allocations: 126.1 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2926, allocations: 29.64 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.2926, allocations: 88.14 kB / 427.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.2927, allocations: 11.91 kB / 427.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.2927, allocations: 21.7 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2929, allocations: 323.1 kB / 427.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.2931, allocations: 31.97 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2934, allocations: 46.55 kB / 427.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.2938, allocations: 86.45 kB / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2938, allocations: 0 / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004814/0.2943, allocations: 113.5 kB / 428 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2943, allocations: 4 kB / 428 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2943, allocations: 0 / 428 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2943, allocations: 3.938 kB / 428 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2945, allocations: 24.06 kB / 428.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2945, allocations: 7.938 kB / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2947, allocations: 15.98 kB / 428.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2947, allocations: 0 / 428.1 MB, free: 9.957 MB / 334.1 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 0.0001582/0.2949, allocations: 109.8 kB / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.2949, allocations: 11.89 kB / 428.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2949, allocations: 11.95 kB / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2949, allocations: 4 kB / 428.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2949, allocations: 0 / 428.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2949, allocations: 8 kB / 428.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.2952, allocations: 121.2 kB / 428.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2952, allocations: 0 / 428.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2953, allocations: 19.97 kB / 428.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2953, allocations: 3.938 kB / 428.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2954, allocations: 4 kB / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2954, allocations: 0 / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2954, allocations: 0 / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.2959, allocations: 150.7 kB / 428.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.2959, allocations: 12.06 kB / 428.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.296, allocations: 0 / 428.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2961, allocations: 11.98 kB / 428.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.2962, allocations: 3.984 kB / 428.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2962, allocations: 11.98 kB / 428.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.2963, allocations: 98.78 kB / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2963, allocations: 0 / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.2967, allocations: 12 kB / 428.7 MB, free: 9.309 MB / 334.1 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.0001548/0.2968, allocations: 95.25 kB / 428.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.2973, allocations: 75.86 kB / 428.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2973, allocations: 0 / 428.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.2975, allocations: 44.16 kB / 428.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2978, allocations: 14.44 kB / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.2986, allocations: 214.9 kB / 429.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/0.2987, allocations: 75.14 kB / 429.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.2988, allocations: 11.42 kB / 429.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2988, allocations: 0 / 429.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of Templates: time 0.003585/0.3024, allocations: 0.9032 MB / 430.1 MB, free: 7.82 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.89766809111461]