Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001901/0.001901, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.525/1.525, allocations: 227.7 MB / 247.7 MB, free: 10.39 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 65.05 kB / 307.9 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 50.53 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002863/0.1128, allocations: 1.506 MB / 359.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.1137, allocations: 0.5003 MB / 360.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1138, allocations: 0 / 360.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.1138, allocations: 7.922 kB / 360.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.1139, allocations: 19.8 kB / 360.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1141, allocations: 35.89 kB / 360.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1143, allocations: 79.64 kB / 360.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.1144, allocations: 12.17 kB / 360.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1145, allocations: 35.86 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.1146, allocations: 39.83 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1146, allocations: 4 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.1147, allocations: 15.98 kB / 360.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1147, allocations: 4 kB / 360.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1148, allocations: 31.8 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1149, allocations: 55.8 kB / 360.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1149, allocations: 3.984 kB / 360.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1149, allocations: 4 kB / 360.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1149, allocations: 0 / 360.8 MB, free: 11.63 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.0006797/0.1156, allocations: 395.4 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1157, allocations: 8.031 kB / 361.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.116, allocations: 32.81 kB / 361.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1162, allocations: 192.2 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1162, allocations: 4.375 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1163, allocations: 384 / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1165, allocations: 92.28 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1165, allocations: 0 / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1166, allocations: 4 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1166, allocations: 0 / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.1169, allocations: 67.86 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.1171, allocations: 187.4 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1174, allocations: 99.75 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1175, allocations: 50.61 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1176, allocations: 3.984 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1176, allocations: 46.44 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1176, allocations: 0 / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005657/0.1182, allocations: 141.8 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.1183, allocations: 106.8 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1184, allocations: 131.6 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1184, allocations: 29.7 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.1185, allocations: 88.14 kB / 362.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1185, allocations: 7.906 kB / 362.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1186, allocations: 17.7 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1187, allocations: 322.8 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1189, allocations: 31.97 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.119, allocations: 46.55 kB / 362.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1193, allocations: 86.45 kB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1194, allocations: 3.938 kB / 362.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003435/0.1197, allocations: 117.4 kB / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1197, allocations: 4 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1197, allocations: 4.094 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1198, allocations: 4 kB / 363 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1199, allocations: 19.97 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1199, allocations: 0 / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.12, allocations: 19.92 kB / 363.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1201, allocations: 0 / 363.1 MB, free: 9.023 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.1202, allocations: 117.8 kB / 363.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1202, allocations: 19.78 kB / 363.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.1202, allocations: 19.81 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1202, allocations: 0 / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1202, allocations: 0 / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1202, allocations: 0 / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1204, allocations: 173.6 kB / 363.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1204, allocations: 3.938 kB / 363.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1206, allocations: 15.98 kB / 363.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1206, allocations: 7.984 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1206, allocations: 0 / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1206, allocations: 4 kB / 363.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1206, allocations: 0 / 363.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.121, allocations: 146.6 kB / 363.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.121, allocations: 88.95 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1211, allocations: 7.984 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.1212, allocations: 4 kB / 363.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.1212, allocations: 11.98 kB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1212, allocations: 4 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.1213, allocations: 101.8 kB / 363.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1213, allocations: 3.938 kB / 363.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002015/0.1215, allocations: 8 kB / 363.8 MB, free: 8.195 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1216, allocations: 103.2 kB / 363.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.122, allocations: 67.88 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.122, allocations: 0 / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1222, allocations: 48.2 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.1223, allocations: 7.938 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.1229, allocations: 230.4 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1232, allocations: 0.6846 MB / 364.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.1233, allocations: 15.42 kB / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1233, allocations: 0 / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of Templates: time 0.002687/0.126, allocations: 0.9079 MB / 365.9 MB, free: 6.07 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches