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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 198.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002334, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1116, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002214/0.1139, allocations: 1.2 MB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.115, allocations: 471.2 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.1152, allocations: 8 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.1152, allocations: 3.984 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1153, allocations: 11.86 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1156, allocations: 31.91 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1158, allocations: 67.7 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.1159, allocations: 8.172 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.1161, allocations: 31.84 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.1163, allocations: 39.89 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1163, allocations: 4 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1164, allocations: 8 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1164, allocations: 11.92 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.1164, allocations: 29.7 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1166, allocations: 43.86 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1166, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1166, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.1166, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 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.0007425/0.1174, allocations: 395.3 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.1174, allocations: 8.031 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.1178, allocations: 47.81 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1181, allocations: 178.9 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1181, allocations: 0 / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1181, allocations: 4 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.1184, allocations: 104.2 kB / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1184, allocations: 0 / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1185, allocations: 0 / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1185, allocations: 3.938 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.1188, allocations: 83.86 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.119, allocations: 191.5 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1193, allocations: 111.8 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1195, allocations: 58.61 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1195, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1195, allocations: 42.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1195, allocations: 0 / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005539/0.1201, allocations: 173.7 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1202, allocations: 106.8 kB / 362 MB, free: 9.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1203, allocations: 128.8 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1203, allocations: 25.7 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.1204, allocations: 96.12 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.1204, allocations: 11.8 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.1204, allocations: 4.094 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1206, allocations: 322.8 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1207, allocations: 39.91 kB / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1208, allocations: 62.55 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.121, allocations: 39.97 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.121, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003033/0.1213, allocations: 129.5 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1213, allocations: 8 kB / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1213, allocations: 0 / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1214, allocations: 3.953 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1215, allocations: 23.97 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1215, allocations: 0 / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.1216, allocations: 27.95 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1216, allocations: 4 kB / 363 MB, free: 9.012 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.1217, allocations: 105.8 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1217, allocations: 15.84 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1218, allocations: 19.81 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1218, allocations: 3.953 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1218, allocations: 4 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1218, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.122, allocations: 173.6 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.122, allocations: 4 kB / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1221, allocations: 23.97 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1221, allocations: 0 / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1221, allocations: 0 / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1221, allocations: 4 kB / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1221, allocations: 3.953 kB / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1225, allocations: 162.6 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1225, allocations: 96.94 kB / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1226, allocations: 0 / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.1227, allocations: 15.98 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1227, allocations: 3.953 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1227, allocations: 7.984 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.1228, allocations: 99.27 kB / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 4 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.123, allocations: 8 kB / 363.7 MB, free: 8.164 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.1231, allocations: 91.25 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.1235, allocations: 95.86 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1235, allocations: 0 / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1236, allocations: 52.22 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.1238, allocations: 2.531 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1244, allocations: 220.4 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1246, allocations: 0.6809 MB / 364.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1247, allocations: 12.11 kB / 364.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1247, allocations: 11.44 kB / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1247, allocations: 0 / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Templates: time 0.002937/0.1277, allocations: 0.5043 MB / 365.4 MB, free: 6.438 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches