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.001307/0.001307, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001172/0.001172, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.574 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 1.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.919e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002228/0.002257, allocations: 1.538 MB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.003012, allocations: 0.4906 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.003069, allocations: 4 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.003101, allocations: 3.938 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.003197, allocations: 19.73 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.003429, allocations: 47.83 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.003569, allocations: 67.72 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.00362, allocations: 4.172 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.003822, allocations: 47.89 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.003885, allocations: 27.91 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.003906, allocations: 4 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.003964, allocations: 15.98 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.00398, allocations: 11.92 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.004011, allocations: 15.98 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004167, allocations: 55.75 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00417, allocations: 4 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.004172, allocations: 0 / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.004179, allocations: 0 / 275.3 MB, free: 15.08 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.0004646/0.004644, allocations: 416.3 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.004683, allocations: 11.98 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.004895, allocations: 32.86 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005058, allocations: 131.6 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.005067, allocations: 384 / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.005078, allocations: 4.375 kB / 275.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.005259, allocations: 101.9 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.005266, allocations: 192 / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.005277, allocations: 8.062 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005284, allocations: 0 / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.005326, allocations: 8 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.005467, allocations: 156 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.005555, allocations: 85.25 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.005597, allocations: 39.05 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.005611, allocations: 4 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.005636, allocations: 37.39 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005637, allocations: 0 / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.00585, allocations: 65.61 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.0059, allocations: 114.7 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.005998, allocations: 181.9 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.006012, allocations: 29.7 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.006056, allocations: 134.9 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.006089, allocations: 12.28 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.006125, allocations: 31.36 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006251, allocations: 0.4884 MB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.006284, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.006318, allocations: 31.05 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.006385, allocations: 43 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.006388, allocations: 0 / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.911e-05/0.006487, allocations: 57.58 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.006503, allocations: 12.09 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.00651, allocations: 3.984 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006525, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.006623, allocations: 19.92 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006628, allocations: 0 / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.006669, allocations: 8 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.006676, allocations: 4 kB / 277.5 MB, free: 12.55 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 7.37e-05/0.00675, allocations: 156.6 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.006765, allocations: 11.95 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.006788, allocations: 15.91 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00679, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.006796, allocations: 8.031 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.0068, allocations: 3.984 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.006881, allocations: 136.5 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.006883, allocations: 7.938 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.006926, allocations: 11.98 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006928, allocations: 0 / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.006938, allocations: 8 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00694, allocations: 0 / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006941, allocations: 0 / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007061, allocations: 115.7 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007072, allocations: 11.95 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007085, allocations: 0 / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.007115, allocations: 7.984 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.007167, allocations: 11.92 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.007173, allocations: 4 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.007221, allocations: 142 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007221, allocations: 0 / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.007352, allocations: 12 kB / 278.1 MB, free: 11.83 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 9.684e-05/0.007449, allocations: 95.25 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.007571, allocations: 31.61 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007573, allocations: 0 / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.007603, allocations: 23.61 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.007739, allocations: 4 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.008321, allocations: 193.7 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.008357, allocations: 59.34 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.008385, allocations: 4 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.008424, allocations: 12.48 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.008425, allocations: 0 / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.002588/0.01101, allocations: 0.6539 MB / 279.2 MB, free: 10.68 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 -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.604485366959125]