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.001218/0.001218, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001288/0.001288, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9252/0.9252, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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 1.543e-06/1.543e-06, allocations: 0 / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.901e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002019/0.002038, allocations: 1.584 MB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.002693, allocations: 0.4945 MB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.002741, allocations: 4 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002765, allocations: 7.922 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.002851, allocations: 19.8 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.003006, allocations: 39.88 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.003109, allocations: 71.72 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.003143, allocations: 8.125 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.003297, allocations: 51.83 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.003347, allocations: 27.91 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.003362, allocations: 4 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.003423, allocations: 11.98 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.003436, allocations: 7.938 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.003457, allocations: 23.97 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.849e-05/0.003556, allocations: 55.81 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003557, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003558, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003562, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.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.0002757/0.003838, allocations: 284.6 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.284e-05/0.00386, allocations: 8.031 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.004011, allocations: 28.91 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.004105, allocations: 137.6 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-06/0.004109, allocations: 4.375 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-06/0.004115, allocations: 384 / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004218, allocations: 81.48 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004225, allocations: 8.125 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.004235, allocations: 8.125 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.004239, allocations: 0 / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.004268, allocations: 11.92 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.004369, allocations: 74.75 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.00443, allocations: 63.72 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.004459, allocations: 30.77 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.00447, allocations: 4 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.004489, allocations: 38.5 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004489, allocations: 0 / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001204/0.00461, allocations: 57.61 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.004649, allocations: 102.8 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.004709, allocations: 136.5 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.004718, allocations: 29.7 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.004739, allocations: 88.12 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.004783, allocations: 11.91 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.004808, allocations: 21.69 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.004873, allocations: 322.8 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.004889, allocations: 7.938 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.00491, allocations: 18.58 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.00495, allocations: 26.56 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004951, allocations: 4 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.203e-05/0.005013, allocations: 61.55 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.005024, allocations: 8 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005028, allocations: 0 / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005038, allocations: 0 / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.005107, allocations: 15.98 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.005109, allocations: 0 / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.005139, allocations: 11.92 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.005146, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.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 4.915e-05/0.005195, allocations: 109.9 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.005206, allocations: 7.984 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.005224, allocations: 11.97 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005226, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005227, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.005231, allocations: 8.031 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.457e-05/0.005296, allocations: 85.8 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005297, allocations: 0 / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.005335, allocations: 27.91 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005337, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005342, allocations: 4 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.005343, allocations: 4 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005343, allocations: 0 / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.005419, allocations: 82.77 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.005431, allocations: 15.88 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.005441, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.005468, allocations: 11.98 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.005538, allocations: 7.938 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.005543, allocations: 7.984 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.784e-05/0.005561, allocations: 19.34 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005561, allocations: 8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001013/0.005663, allocations: 11.94 kB / 278 MB, free: 12.49 MB / 266.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.143e-05/0.005724, allocations: 76.42 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.005793, allocations: 24.78 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.005795, allocations: 0 / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.005818, allocations: 20.83 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.658e-05/0.005894, allocations: 8 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.006275, allocations: 182.3 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.006304, allocations: 59.34 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.006328, allocations: 4 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.006372, allocations: 51.38 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006373, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.001782/0.008155, allocations: 0.5889 MB / 279 MB, free: 11.42 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5073190042749047]