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.0009422/0.0009422, allocations: 115.2 kB / 17.29 MB, free: 6.316 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.0009943/0.0009942, allocations: 197.3 kB / 18.21 MB, free: 5.398 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.401/1.401, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009927/0.0009928, allocations: 46.45 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.0878, allocations: 49.46 MB / 350.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002816/0.09065, allocations: 1.534 MB / 351.8 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.0914, allocations: 458.8 kB / 352.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.09146, allocations: 0 / 352.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.09153, allocations: 7.938 kB / 352.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.09162, allocations: 15.86 kB / 352.2 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.09178, allocations: 19.97 kB / 352.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.09189, allocations: 63.78 kB / 352.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.09195, allocations: 7.984 kB / 352.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.09209, allocations: 39.8 kB / 352.4 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.09217, allocations: 43.88 kB / 352.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.0922, allocations: 4 kB / 352.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.09222, allocations: 4 kB / 352.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.09225, allocations: 11.94 kB / 352.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.09229, allocations: 19.86 kB / 352.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.8e-05/0.09237, allocations: 35.94 kB / 352.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09238, allocations: 0 / 352.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09239, allocations: 0 / 352.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.0924, allocations: 0 / 352.5 MB, free: 2.484 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.0006374/0.09304, allocations: 399.4 kB / 352.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.09308, allocations: 8.031 kB / 352.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.09312, allocations: 8.844 kB / 352.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.09324, allocations: 180.2 kB / 353.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.09326, allocations: 4.375 kB / 353.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.09328, allocations: 4.125 kB / 353.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.09353, allocations: 88.22 kB / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.09355, allocations: 0 / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.09357, allocations: 0 / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.09358, allocations: 7.938 kB / 353.2 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.09384, allocations: 59.88 kB / 353.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.09404, allocations: 191.5 kB / 353.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.0943, allocations: 95.75 kB / 353.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.09445, allocations: 54.55 kB / 353.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.09447, allocations: 3.984 kB / 353.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.09451, allocations: 34.5 kB / 353.6 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.09451, allocations: 4 kB / 353.6 MB, free: 1.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004972/0.09501, allocations: 141.4 kB / 353.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.09509, allocations: 106.8 kB / 353.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.09519, allocations: 126.1 kB / 354 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.09522, allocations: 29.7 kB / 354 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.09527, allocations: 88.5 kB / 354.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.09532, allocations: 23.75 kB / 354.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.09537, allocations: 17.7 kB / 354.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.09548, allocations: 318.8 kB / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.09562, allocations: 35.91 kB / 354.5 MB, free: 232 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.09575, allocations: 50.48 kB / 354.5 MB, free: 172 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.09602, allocations: 82.52 kB / 354.6 MB, free: 80 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09603, allocations: 0 / 354.6 MB, free: 80 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003343/0.09637, allocations: 117.5 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.09639, allocations: 6.812 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.0964, allocations: 0 / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.09642, allocations: 4 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.09657, allocations: 23.91 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.09659, allocations: 0 / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.09669, allocations: 19.98 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.09671, allocations: 0 / 354.8 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 8.798e-05/0.0968, allocations: 113.8 kB / 354.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.09683, allocations: 7.938 kB / 354.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.09687, allocations: 11.88 kB / 354.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.09688, allocations: 0 / 354.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.09689, allocations: 3.984 kB / 354.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.0969, allocations: 4 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.09705, allocations: 177.5 kB / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.09706, allocations: 4 kB / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.09718, allocations: 19.92 kB / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.09719, allocations: 4 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.09721, allocations: 3.984 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.09721, allocations: 0 / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.09722, allocations: 0 / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.09755, allocations: 158.7 kB / 355.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.09761, allocations: 81.02 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.09764, allocations: 4 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.09774, allocations: 7.984 kB / 355.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.09779, allocations: 7.984 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.09781, allocations: 8 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.09787, allocations: 102.6 kB / 355.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09788, allocations: 0 / 355.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.09808, allocations: 8 kB / 355.5 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 9.624e-05/0.09818, allocations: 103.1 kB / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.09851, allocations: 76.06 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09852, allocations: 0 / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.09867, allocations: 39.89 kB / 355.7 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.0001638/0.09884, allocations: 11.94 kB / 355.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.0994, allocations: 238.6 kB / 355.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.09965, allocations: 0.6923 MB / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.09971, allocations: 15.42 kB / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09971, allocations: 0 / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Templates: time 0.002326/0.102, allocations: 0.871 MB / 357.5 MB, free: 12.97 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/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