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.0009607/0.0009607, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002399, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009332/0.0009332, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002217, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.972/0.972, allocations: 173.3 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08862/1.061, allocations: 52.5 MB / 238.3 MB, free: 4.414 MB / 234.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.192e-06/1.192e-06, allocations: 0 / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.777e-05, allocations: 2.312 kB / 239.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001946/0.001963, allocations: 1.555 MB / 241.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004559/0.002419, allocations: 464.2 kB / 241.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.002446, allocations: 0 / 241.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.002468, allocations: 7.922 kB / 241.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.002511, allocations: 11.81 kB / 241.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.296e-05/0.002584, allocations: 31.89 kB / 241.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.002662, allocations: 71.66 kB / 241.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.002699, allocations: 11.95 kB / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.002831, allocations: 51.83 kB / 241.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.002882, allocations: 27.91 kB / 241.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.002902, allocations: 4 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.002912, allocations: 4 kB / 241.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.002926, allocations: 4 kB / 241.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.00295, allocations: 15.94 kB / 241.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.003034, allocations: 39.84 kB / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.003047, allocations: 0 / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003048, allocations: 0 / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.003059, allocations: 4 kB / 241.8 MB, free: 0.8672 MB / 234.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.0003778/0.003437, allocations: 288.4 kB / 242.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.003464, allocations: 11.97 kB / 242.1 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.003488, allocations: 4.938 kB / 242.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.003562, allocations: 129.6 kB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.003571, allocations: 384 / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.003579, allocations: 384 / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.003698, allocations: 93.05 kB / 242.3 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.003704, allocations: 4 kB / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003711, allocations: 0 / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.003715, allocations: 0 / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.003746, allocations: 11.92 kB / 242.4 MB, free: 276 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.932e-05/0.003835, allocations: 78.77 kB / 242.4 MB, free: 176 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.003895, allocations: 63.73 kB / 242.5 MB, free: 84 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.003919, allocations: 22.77 kB / 242.5 MB, free: 52 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.003931, allocations: 0 / 242.5 MB, free: 52 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.003953, allocations: 42.5 kB / 242.6 MB, free: 0 / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.003954, allocations: 4.047 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001184/0.004072, allocations: 57.55 kB / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.004113, allocations: 102.8 kB / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.004186, allocations: 142.2 kB / 242.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004196, allocations: 25.7 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.004217, allocations: 84.14 kB / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.004243, allocations: 15.83 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.004272, allocations: 17.7 kB / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.004349, allocations: 327.2 kB / 243.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.004363, allocations: 4 kB / 243.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.004387, allocations: 22.58 kB / 243.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.004427, allocations: 26.56 kB / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004429, allocations: 0 / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.966e-05/0.004489, allocations: 57.55 kB / 243.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004499, allocations: 4 kB / 243.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.004505, allocations: 8.094 kB / 243.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.004514, allocations: 3.938 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.004609, allocations: 15.98 kB / 243.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004613, allocations: 0 / 243.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.004644, allocations: 11.92 kB / 243.5 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.00465, allocations: 8 kB / 243.5 MB, free: 14.99 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 5.733e-05/0.004708, allocations: 113.8 kB / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.004717, allocations: 7.984 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.004745, allocations: 15.92 kB / 243.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.004747, allocations: 3.938 kB / 243.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.004749, allocations: 4 kB / 243.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.004753, allocations: 4 kB / 243.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.145e-05/0.004815, allocations: 73.88 kB / 243.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004816, allocations: 0 / 243.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.004858, allocations: 23.91 kB / 243.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.004867, allocations: 7.953 kB / 243.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004869, allocations: 0 / 243.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.004873, allocations: 0 / 243.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.004875, allocations: 4 kB / 243.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004877, allocations: 3.938 kB / 243.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.787e-05/0.004955, allocations: 86.83 kB / 243.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.004964, allocations: 0 / 243.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.004992, allocations: 11.98 kB / 243.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.005025, allocations: 11.86 kB / 243.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.00503, allocations: 7.938 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.005051, allocations: 24.83 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005051, allocations: 0 / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001024/0.005154, allocations: 12 kB / 243.9 MB, free: 14.52 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 6.232e-05/0.005216, allocations: 72.42 kB / 244 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.005288, allocations: 32.78 kB / 244 MB, free: 14.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.005294, allocations: 0 / 244 MB, free: 14.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.005315, allocations: 20.88 kB / 244 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.231e-05/0.005387, allocations: 8 kB / 244 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.006151, allocations: 214.2 kB / 244.2 MB, free: 14.13 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.006178, allocations: 55.36 kB / 244.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.006204, allocations: 3.984 kB / 244.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.006247, allocations: 51.38 kB / 244.3 MB, free: 14 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006247, allocations: 0 / 244.3 MB, free: 14 MB / 250.7 MB Notification: Performance of Templates: time 0.00184/0.008087, allocations: 0.5916 MB / 244.9 MB, free: 13.42 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 -ignoreHideResult -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.4945519790053368]