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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 103.6 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.623e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.5132, allocations: 75.47 MB / 462.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5135, allocations: 63.97 kB / 463 MB, free: 3.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004763/0.5182, allocations: 1.555 MB / 464.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5183, allocations: 6.625 kB / 464.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.5183, allocations: 3.938 kB / 464.6 MB, free: 1.754 MB / 330.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.0004282/0.5187, allocations: 374.9 kB / 464.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5188, allocations: 8.031 kB / 464.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.5188, allocations: 4 kB / 464.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5189, allocations: 171.8 kB / 465.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.5189, allocations: 0 / 465.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.519, allocations: 8 kB / 465.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.903e-05/0.5191, allocations: 23.98 kB / 465.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.5192, allocations: 68.19 kB / 465.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5192, allocations: 3.953 kB / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5192, allocations: 0 / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5192, allocations: 0.75 kB / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.5194, allocations: 168 kB / 465.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.5195, allocations: 71.8 kB / 465.4 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.5195, allocations: 30.62 kB / 465.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5196, allocations: 4 kB / 465.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5196, allocations: 34.56 kB / 465.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5196, allocations: 0 / 465.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.5198, allocations: 65.53 kB / 465.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.5199, allocations: 110.8 kB / 465.7 MB, free: 424 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.52, allocations: 115.6 kB / 465.8 MB, free: 300 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.52, allocations: 29.7 kB / 465.8 MB, free: 264 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.52, allocations: 96.06 kB / 465.9 MB, free: 164 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.5201, allocations: 19.91 kB / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.5201, allocations: 0 / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5202, allocations: 310.8 kB / 466.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.5202, allocations: 15.98 kB / 466.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.5203, allocations: 38.5 kB / 466.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.5203, allocations: 11.98 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5203, allocations: 4 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.5205, allocations: 69.53 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5205, allocations: 4 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5205, allocations: 4 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5205, allocations: 0 / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5206, allocations: 23.97 kB / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5207, allocations: 0 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.5208, allocations: 20.08 kB / 466.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5208, allocations: 3.953 kB / 466.4 MB, free: 15.62 MB / 346.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 () * 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.046e-05/0.5209, allocations: 106.9 kB / 466.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.5209, allocations: 7.906 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.5209, allocations: 11.95 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5209, allocations: 4 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5209, allocations: 0 / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5209, allocations: 4 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.5211, allocations: 162.1 kB / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5211, allocations: 0 / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5212, allocations: 23.92 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5212, allocations: 0 / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5212, allocations: 3.984 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5212, allocations: 4 kB / 466.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5212, allocations: 0 / 466.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.5214, allocations: 126.1 kB / 466.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.5214, allocations: 81.11 kB / 466.9 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5214, allocations: 0 / 466.9 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.5216, allocations: 19.98 kB / 467 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.5216, allocations: 15.94 kB / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.5216, allocations: 4 kB / 467 MB, free: 14.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.5217, allocations: 98.17 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5217, allocations: 3.938 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.5219, allocations: 8 kB / 467.1 MB, free: 14.86 MB / 346.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 () * 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.0001325/0.522, allocations: 103.2 kB / 467.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.5221, allocations: 35.94 kB / 467.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.5221, allocations: 0 / 467.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.5222, allocations: 23.92 kB / 467.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.5223, allocations: 0.5469 kB / 467.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.5227, allocations: 118.1 kB / 467.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5229, allocations: 0.6963 MB / 468.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.523, allocations: 0 / 468.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.523, allocations: 11.44 kB / 468.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.523, allocations: 0 / 468.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Templates: time 0.001899/0.5249, allocations: 481 kB / 468.5 MB, free: 13.34 MB / 346.7 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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches