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.001025/0.001025, allocations: 82.59 kB / 21.42 MB, free: 3.074 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.001042/0.001042, allocations: 167.4 kB / 24.82 MB, free: 9.312 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 1.026/1.026, allocations: 177 MB / 205.1 MB, free: 5.484 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 3.596e-06/3.596e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.904e-05, allocations: 9.203 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002599/0.002638, allocations: 1.542 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.003429, allocations: 494.6 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.003493, allocations: 0 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.003527, allocations: 11.92 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.003622, allocations: 15.8 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.003848, allocations: 35.89 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003974, allocations: 75.64 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.004022, allocations: 8.125 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.004236, allocations: 55.83 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.004294, allocations: 31.95 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.004313, allocations: 4 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.004367, allocations: 8 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.004384, allocations: 11.92 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004409, allocations: 15.94 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.00455, allocations: 51.86 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.004554, allocations: 0 / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.004556, allocations: 0 / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004562, allocations: 0 / 275.7 MB, free: 14.88 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.0004317/0.004994, allocations: 412.3 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.005039, allocations: 15.98 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.005241, allocations: 36.8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.005392, allocations: 131.2 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.005402, allocations: 384 / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.00541, allocations: 4.312 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005575, allocations: 93.98 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.005582, allocations: 192 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005592, allocations: 8.125 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.005597, allocations: 0 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.005633, allocations: 15.92 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.005784, allocations: 132.6 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.005876, allocations: 81.25 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.005912, allocations: 39.11 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.005931, allocations: 0 / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.005961, allocations: 41.39 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.005962, allocations: 0 / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.006162, allocations: 69.55 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.006216, allocations: 102.8 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.00632, allocations: 189.8 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.006334, allocations: 25.7 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.006397, allocations: 142.9 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.006435, allocations: 7.906 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.006482, allocations: 31.34 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.006634, allocations: 0.4923 MB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.006662, allocations: 384 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.006696, allocations: 35.05 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.006761, allocations: 43.09 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006764, allocations: 0 / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.006868, allocations: 57.56 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.006888, allocations: 8 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.006894, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.006914, allocations: 3.984 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.007023, allocations: 24.02 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.00703, allocations: 3.938 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.007065, allocations: 4 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007073, allocations: 8 kB / 277.9 MB, free: 12.38 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 8.888e-05/0.007162, allocations: 156.6 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.007181, allocations: 11.89 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.00721, allocations: 11.97 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007212, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007216, allocations: 4 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.007221, allocations: 3.938 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.007318, allocations: 113.2 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.00732, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.007371, allocations: 19.98 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007374, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.007382, allocations: 3.984 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007384, allocations: 4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.007387, allocations: 3.938 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.007542, allocations: 99.75 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.007556, allocations: 15.88 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.007572, allocations: 8 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.007604, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.00765, allocations: 3.984 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007654, allocations: 4 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.00771, allocations: 150.1 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00771, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.007842, allocations: 11.98 kB / 278.5 MB, free: 11.7 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 8.995e-05/0.007932, allocations: 95.19 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.008025, allocations: 27.8 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008027, allocations: 4.062 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.696e-05/0.008054, allocations: 19.61 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.008181, allocations: 4 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.008673, allocations: 193.3 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.008713, allocations: 67.28 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.008744, allocations: 8.219 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.008799, allocations: 70.2 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0088, allocations: 0 / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002306/0.01111, allocations: 0.6671 MB / 279.6 MB, free: 10.47 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.6953271375969052]