Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 164.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9804/0.9804, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.194e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002063/0.002085, allocations: 1.587 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.002807, allocations: 0.4907 MB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.002869, allocations: 4 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.002899, allocations: 7.922 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.003003, allocations: 15.8 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.003188, allocations: 35.89 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003308, allocations: 75.64 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.003352, allocations: 8.125 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.003537, allocations: 51.83 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.003596, allocations: 39.89 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.003614, allocations: 4 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.003682, allocations: 8 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.003698, allocations: 7.984 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.003722, allocations: 15.94 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.003837, allocations: 55.8 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003839, allocations: 0 / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003839, allocations: 0 / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003844, allocations: 0 / 275.8 MB, free: 14.64 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.0003681/0.004212, allocations: 288.6 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.004252, allocations: 11.98 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.004444, allocations: 36.89 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004595, allocations: 121.7 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.004608, allocations: 8.375 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.004615, allocations: 384 / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004745, allocations: 85.42 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.004754, allocations: 4.188 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004764, allocations: 4.125 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004769, allocations: 4 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.004803, allocations: 11.92 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.004908, allocations: 82.73 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.00498, allocations: 59.78 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.005006, allocations: 30.7 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.00502, allocations: 4 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.005041, allocations: 34.56 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005042, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001315/0.005173, allocations: 61.55 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.005278, allocations: 106.8 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.00535, allocations: 134.6 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005361, allocations: 25.7 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.005388, allocations: 92.11 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.005419, allocations: 7.906 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.005447, allocations: 17.72 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.005532, allocations: 322.8 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.005551, allocations: 4 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.005577, allocations: 26.88 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.005627, allocations: 38.48 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.005631, allocations: 4 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.447e-05/0.005695, allocations: 45.62 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.005712, allocations: 11.12 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.005717, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.005731, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.005804, allocations: 24.06 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005808, allocations: 3.938 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.005838, allocations: 11.94 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005845, allocations: 4 kB / 277.5 MB, free: 12.73 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 5.288e-05/0.005898, allocations: 109.8 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.005908, allocations: 4 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.005929, allocations: 11.97 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005931, allocations: 0 / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.005934, allocations: 3.984 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.005939, allocations: 7.938 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.093e-05/0.006, allocations: 77.88 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.006, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.006036, allocations: 15.98 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006037, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.006044, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006045, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006046, allocations: 4 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.006131, allocations: 90.78 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.006144, allocations: 11.89 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.006153, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.006184, allocations: 15.98 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.006221, allocations: 7.984 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.006225, allocations: 4 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.006243, allocations: 20.83 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006243, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001021/0.006345, allocations: 15.94 kB / 277.9 MB, free: 12.27 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 5.906e-05/0.006404, allocations: 80.36 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.006478, allocations: 16.84 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.00648, allocations: 8.188 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.006503, allocations: 24.72 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.707e-05/0.00658, allocations: 8 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.00699, allocations: 182 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.007021, allocations: 59.34 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.007047, allocations: 8.188 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.007098, allocations: 55.36 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of SimCode: time 3.4e-07/0.007098, allocations: 0 / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Templates: time 0.001842/0.00894, allocations: 0.5883 MB / 278.9 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6527336961589754]