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.00108/0.00108, allocations: 95.5 kB / 21.2 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.00142/0.00142, allocations: 160.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 0.9777/0.9777, allocations: 177 MB / 204.8 MB, free: 5.578 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.615e-06/2.615e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.774e-05, allocations: 6.25 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002108/0.002136, allocations: 1.545 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.002821, allocations: 498.6 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.002874, allocations: 0 / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.002905, allocations: 7.922 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.003004, allocations: 23.8 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.003213, allocations: 35.89 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.003331, allocations: 75.64 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.003375, allocations: 8.125 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.003564, allocations: 47.84 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.003619, allocations: 31.89 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003636, allocations: 4 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.003687, allocations: 15.98 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.003699, allocations: 4 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.003731, allocations: 23.92 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003859, allocations: 51.81 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003861, allocations: 0 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003861, allocations: 0 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.003866, allocations: 0 / 275.2 MB, free: 15.1 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.000373/0.004239, allocations: 416.2 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.00428, allocations: 15.98 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.004467, allocations: 28.88 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.004609, allocations: 135.3 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.004618, allocations: 4.375 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004629, allocations: 384 / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.004784, allocations: 93.98 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004791, allocations: 192 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.004804, allocations: 4.125 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004811, allocations: 0 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.004858, allocations: 15.92 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.005013, allocations: 148 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.005117, allocations: 93.11 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.005161, allocations: 35.25 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.00518, allocations: 0 / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.005205, allocations: 45.33 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.005207, allocations: 3.984 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.005412, allocations: 61.61 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.005461, allocations: 106.8 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.005561, allocations: 185.9 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.005575, allocations: 26.08 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.005628, allocations: 146.8 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.005663, allocations: 19.83 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.005694, allocations: 19.38 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.005832, allocations: 0.4923 MB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.005862, allocations: 4 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.005898, allocations: 31.05 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.005961, allocations: 35.06 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.005965, allocations: 3.938 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.451e-05/0.006059, allocations: 69.56 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006074, allocations: 4 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.006081, allocations: 4 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.006097, allocations: 0 / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.006191, allocations: 19.92 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.006199, allocations: 4 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.006232, allocations: 4 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.006239, allocations: 3.984 kB / 277.5 MB, free: 12.57 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.014e-05/0.006309, allocations: 160.7 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.006321, allocations: 7.953 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.006348, allocations: 11.97 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00635, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.006356, allocations: 3.938 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.006361, allocations: 7.984 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.077e-05/0.006442, allocations: 132.6 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006443, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.006481, allocations: 19.92 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006483, allocations: 0 / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.006491, allocations: 0 / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006492, allocations: 11.98 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006493, allocations: 0 / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.006601, allocations: 107.8 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.00661, allocations: 11.89 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.006623, allocations: 3.984 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.763e-05/0.006651, allocations: 4 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.006697, allocations: 15.86 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.0067, allocations: 0 / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.123e-05/0.006751, allocations: 146.5 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006751, allocations: 0 / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.006878, allocations: 19.94 kB / 278.1 MB, free: 11.84 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.338e-05/0.006942, allocations: 91.23 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.00704, allocations: 31.61 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007041, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.007069, allocations: 15.69 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.0072, allocations: 11.98 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.007729, allocations: 197.6 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.007763, allocations: 59.36 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.746e-05/0.00779, allocations: 8.109 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.007828, allocations: 16.5 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007829, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002135/0.009963, allocations: 0.623 MB / 279.2 MB, free: 10.72 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.7839446095749736]