Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 111 kB / 16.63 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 185.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.05 kB / 300.1 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1147, allocations: 49.44 MB / 349.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002762/0.1175, allocations: 1.558 MB / 351.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.1182, allocations: 446.9 kB / 351.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.1182, allocations: 0 / 351.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.1183, allocations: 7.922 kB / 351.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.1184, allocations: 19.86 kB / 351.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.1185, allocations: 19.97 kB / 351.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.1186, allocations: 63.78 kB / 351.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1187, allocations: 7.984 kB / 351.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1188, allocations: 39.8 kB / 351.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.1189, allocations: 31.89 kB / 351.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1189, allocations: 4 kB / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.1189, allocations: 4 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1189, allocations: 19.92 kB / 351.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.119, allocations: 23.86 kB / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.984e-05/0.1191, allocations: 55.8 kB / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1191, allocations: 0 / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1191, allocations: 0 / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1191, allocations: 0 / 351.8 MB, free: 2.488 MB / 286.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.000622/0.1197, allocations: 387.4 kB / 352.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1198, allocations: 12.03 kB / 352.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1198, allocations: 8.844 kB / 352.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.12, allocations: 183.2 kB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.12, allocations: 4.375 kB / 352.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.12, allocations: 4.125 kB / 352.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1202, allocations: 84.22 kB / 352.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1203, allocations: 3.984 kB / 352.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1203, allocations: 8 kB / 352.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1203, allocations: 0 / 352.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.1205, allocations: 59.88 kB / 352.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1207, allocations: 183.5 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.121, allocations: 103.7 kB / 352.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1212, allocations: 54.55 kB / 352.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1212, allocations: 4 kB / 352.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1212, allocations: 38.5 kB / 353 MB, free: 1.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1212, allocations: 0 / 353 MB, free: 1.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004939/0.1217, allocations: 145.7 kB / 353.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.1218, allocations: 102.8 kB / 353.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.1219, allocations: 126.1 kB / 353.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1219, allocations: 25.7 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.122, allocations: 96.08 kB / 353.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.122, allocations: 23.67 kB / 353.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1221, allocations: 17.7 kB / 353.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1222, allocations: 322.9 kB / 353.8 MB, free: 272 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1223, allocations: 31.97 kB / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.1224, allocations: 46.48 kB / 353.9 MB, free: 184 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1227, allocations: 90.52 kB / 354 MB, free: 84 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1227, allocations: 0 / 354 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003216/0.123, allocations: 109.6 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1231, allocations: 8 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1231, allocations: 0 / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1231, allocations: 0 / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1232, allocations: 23.91 kB / 354.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1232, allocations: 0 / 354.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1233, allocations: 19.89 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1234, allocations: 4 kB / 354.1 MB, free: 15.91 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 7.807e-05/0.1234, allocations: 113.9 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1235, allocations: 7.938 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.1235, allocations: 15.86 kB / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1235, allocations: 0 / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1235, allocations: 4 kB / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1235, allocations: 0 / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.1237, allocations: 181.5 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1237, allocations: 0 / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1238, allocations: 15.98 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1238, allocations: 7.984 kB / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1238, allocations: 0 / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1238, allocations: 4 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1239, allocations: 0 / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1242, allocations: 142.7 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1242, allocations: 89.02 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1242, allocations: 3.984 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.1243, allocations: 8 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1244, allocations: 7.984 kB / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1244, allocations: 0 / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.1245, allocations: 102.8 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1245, allocations: 3.938 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.1247, allocations: 19.98 kB / 354.8 MB, free: 15.09 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.0001027/0.1248, allocations: 99.12 kB / 354.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.1251, allocations: 67.94 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1251, allocations: 4 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.1253, allocations: 48.08 kB / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.1255, allocations: 16.59 kB / 355.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.126, allocations: 212.8 kB / 355.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1262, allocations: 0.6846 MB / 356 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.1263, allocations: 8.125 kB / 356 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1263, allocations: 15.42 kB / 356 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1263, allocations: 0 / 356 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002441/0.1288, allocations: 0.5382 MB / 356.5 MB, free: 13.35 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches