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.001451/0.001451, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001179/0.001179, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9931/0.9931, allocations: 177 MB / 205.2 MB, free: 5.539 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.112e-06/1.112e-06, allocations: 0 / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.824e-05, allocations: 2.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001993/0.002011, allocations: 1.541 MB / 274.5 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.002758, allocations: 498.5 kB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.002816, allocations: 0 / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.002844, allocations: 7.938 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.002935, allocations: 19.8 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.003149, allocations: 39.83 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003268, allocations: 67.72 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.003311, allocations: 4.188 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.003489, allocations: 55.81 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.003543, allocations: 27.91 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003559, allocations: 4 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.003605, allocations: 12 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.003622, allocations: 19.91 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.003649, allocations: 15.98 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003761, allocations: 51.81 kB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003763, allocations: 0 / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003764, allocations: 0 / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003767, allocations: 0 / 275.3 MB, free: 15.37 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.0004045/0.004172, allocations: 408.3 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004209, allocations: 15.98 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.004397, allocations: 36.86 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004538, allocations: 131.6 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.004548, allocations: 4.312 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004558, allocations: 4.359 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.004712, allocations: 97.92 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-06/0.004717, allocations: 192 / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.004728, allocations: 4.125 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.004734, allocations: 0 / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.004782, allocations: 15.92 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.004913, allocations: 152 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.004997, allocations: 93.25 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.005033, allocations: 31.12 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.005048, allocations: 3.984 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.005068, allocations: 41.39 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005069, allocations: 0 / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001666/0.005235, allocations: 61.56 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.005281, allocations: 110.8 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.005377, allocations: 186.3 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.00539, allocations: 29.7 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.005435, allocations: 138.9 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.005461, allocations: 11.91 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.005492, allocations: 23.36 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.005608, allocations: 0.4923 MB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.005632, allocations: 4 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.005665, allocations: 31 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.00572, allocations: 39.05 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005722, allocations: 4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.387e-05/0.005806, allocations: 61.58 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.005819, allocations: 8 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005823, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.005834, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.005916, allocations: 27.86 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.005922, allocations: 3.984 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.005957, allocations: 4 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.005964, allocations: 4.094 kB / 277.6 MB, free: 12.84 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 6.492e-05/0.006029, allocations: 156.6 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.006044, allocations: 11.94 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.006065, allocations: 11.97 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006066, allocations: 0 / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.006071, allocations: 7.938 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006074, allocations: 3.938 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.006156, allocations: 136.5 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006158, allocations: 3.984 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.006196, allocations: 15.98 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006198, allocations: 4.094 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.006207, allocations: 4 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006208, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.006211, allocations: 7.922 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.006324, allocations: 111.7 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.006332, allocations: 7.953 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.006345, allocations: 0 / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.006379, allocations: 7.984 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.006421, allocations: 7.938 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006425, allocations: 3.984 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.191e-05/0.006477, allocations: 150 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006477, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.006612, allocations: 12 kB / 278.2 MB, free: 12.11 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.835e-05/0.006671, allocations: 91.19 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.006766, allocations: 27.67 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006768, allocations: 4 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.006796, allocations: 19.61 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.006919, allocations: 8.375 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.00743, allocations: 197.2 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/0.007465, allocations: 59.34 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.543e-05/0.007491, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.007527, allocations: 20.48 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.007528, allocations: 4 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002081/0.009609, allocations: 0.6176 MB / 279.3 MB, free: 11 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: 3.0259819969069213]