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.001387/0.001387, allocations: 88.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.001806/0.001806, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.091/1.091, allocations: 177 MB / 205.2 MB, free: 5.074 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.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.167e-05, allocations: 5.125 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002035/0.002066, allocations: 1.541 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.002698, allocations: 0.4907 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.002738, allocations: 4 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.002753, allocations: 3.938 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.002807, allocations: 23.78 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.002911, allocations: 35.89 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.002991, allocations: 75.66 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.003034, allocations: 8.109 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.003184, allocations: 55.83 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.003232, allocations: 23.97 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.003245, allocations: 4 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.003288, allocations: 8 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.003305, allocations: 15.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.003327, allocations: 23.91 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.003433, allocations: 47.88 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003437, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003438, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.003443, allocations: 0 / 275.7 MB, free: 14.73 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.0003758/0.003819, allocations: 292.6 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.003856, allocations: 11.98 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.004037, allocations: 32.84 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004165, allocations: 125.6 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.004174, allocations: 384 / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.004183, allocations: 384 / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.004322, allocations: 93.47 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004329, allocations: 192 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004338, allocations: 8.125 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004343, allocations: 0 / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.004374, allocations: 7.938 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.368e-05/0.004467, allocations: 82.7 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.004535, allocations: 59.77 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.004563, allocations: 34.75 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.004575, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.004597, allocations: 38.5 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004598, allocations: 4 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001336/0.004732, allocations: 53.62 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.004774, allocations: 106.8 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.004838, allocations: 133.7 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.00485, allocations: 25.7 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.004873, allocations: 92.11 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.004902, allocations: 15.91 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.004926, allocations: 17.69 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.005002, allocations: 318.8 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.005023, allocations: 12.3 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.005046, allocations: 22.58 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.00509, allocations: 34.56 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005092, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.095e-05/0.005152, allocations: 49.61 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.005165, allocations: 11.94 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.00517, allocations: 0 / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005182, allocations: 4.094 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.005253, allocations: 16.08 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005256, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.005285, allocations: 7.938 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.005295, allocations: 11.97 kB / 277.4 MB, free: 12.82 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.552e-05/0.005351, allocations: 105.8 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.005361, allocations: 11.94 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.005383, allocations: 15.95 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005385, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.005387, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005391, allocations: 11.94 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.268e-05/0.005454, allocations: 73.88 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005455, allocations: 0 / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.00549, allocations: 19.92 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005491, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005497, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.0055, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0055, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.925e-05/0.00558, allocations: 82.77 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.005589, allocations: 15.88 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.0056, allocations: 8 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.005628, allocations: 7.984 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.005661, allocations: 11.92 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.005664, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.005682, allocations: 24.84 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005682, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001033/0.005785, allocations: 15.94 kB / 277.8 MB, free: 12.36 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.461e-05/0.00587, allocations: 72.42 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.005943, allocations: 24.84 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.005946, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.005967, allocations: 20.83 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.448e-05/0.006042, allocations: 4 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.006482, allocations: 182 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.006514, allocations: 59.66 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.006539, allocations: 8 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.006588, allocations: 59.36 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.006588, allocations: 0 / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.00224/0.008828, allocations: 0.5883 MB / 278.8 MB, free: 11.28 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.955894764047116]