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.001121/0.00112, allocations: 172.1 kB / 17.39 MB, free: 4.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 241.4 MB, free: 9.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007882/0.0007881, allocations: 86.7 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2863, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3889, allocations: 76.24 MB / 479 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3891, allocations: 59.98 kB / 479 MB, free: 4.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004749/0.3939, allocations: 1.576 MB / 480.6 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3939, allocations: 0 / 480.6 MB, free: 2.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3939, allocations: 0 / 480.6 MB, free: 2.457 MB / 346.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.0004739/0.3944, allocations: 387.2 kB / 481 MB, free: 2.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3945, allocations: 8.031 kB / 481 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3945, allocations: 12.78 kB / 481 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3947, allocations: 176.2 kB / 481.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3947, allocations: 4.375 kB / 481.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3947, allocations: 4.375 kB / 481.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.395, allocations: 92.78 kB / 481.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.395, allocations: 192 / 481.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.3951, allocations: 7.938 kB / 481.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3951, allocations: 7.875 kB / 481.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3954, allocations: 83.88 kB / 481.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3957, allocations: 179.5 kB / 481.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.396, allocations: 115.7 kB / 481.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.3962, allocations: 62.61 kB / 481.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3963, allocations: 0 / 481.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.3963, allocations: 38.5 kB / 481.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3963, allocations: 0 / 481.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005898/0.3969, allocations: 173.6 kB / 481.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3971, allocations: 102.8 kB / 482 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3972, allocations: 128.1 kB / 482.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3973, allocations: 25.7 kB / 482.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.3973, allocations: 96.33 kB / 482.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.3974, allocations: 19.73 kB / 482.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.3974, allocations: 0 / 482.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3976, allocations: 318.8 kB / 482.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3977, allocations: 39.91 kB / 482.7 MB, free: 156 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3979, allocations: 62.52 kB / 482.7 MB, free: 84 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3982, allocations: 98.52 kB / 482.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3982, allocations: 0 / 482.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003356/0.3985, allocations: 129.5 kB / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3986, allocations: 4 kB / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3986, allocations: 8.031 kB / 482.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3986, allocations: 0 / 482.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3988, allocations: 23.92 kB / 483 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3988, allocations: 4 kB / 483 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.3989, allocations: 11.98 kB / 483 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3989, allocations: 7.984 kB / 483 MB, free: 15.79 MB / 362.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 () * 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 0.0001058/0.399, allocations: 117.8 kB / 483.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.399, allocations: 4 kB / 483.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.3991, allocations: 11.81 kB / 483.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3991, allocations: 4 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3991, allocations: 0 / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3991, allocations: 4 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3993, allocations: 189.5 kB / 483.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3993, allocations: 0 / 483.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.3994, allocations: 27.92 kB / 483.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3994, allocations: 0 / 483.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3994, allocations: 3.938 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3994, allocations: 7.984 kB / 483.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3994, allocations: 3.938 kB / 483.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.3998, allocations: 150.8 kB / 483.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3999, allocations: 88.95 kB / 483.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3999, allocations: 7.938 kB / 483.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.4, allocations: 19.98 kB / 483.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.4, allocations: 3.984 kB / 483.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.4001, allocations: 4 kB / 483.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.036e-05/0.4001, allocations: 98.5 kB / 483.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4002, allocations: 0 / 483.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.4004, allocations: 16 kB / 483.7 MB, free: 14.94 MB / 362.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 () * 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.0001226/0.4005, allocations: 107.1 kB / 483.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.4008, allocations: 87.98 kB / 483.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4008, allocations: 0 / 483.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.401, allocations: 47.91 kB / 484 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.4012, allocations: 5 kB / 484 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.4017, allocations: 236.3 kB / 484.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.402, allocations: 0.6848 MB / 484.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.4021, allocations: 0 / 484.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4021, allocations: 15.42 kB / 484.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4021, allocations: 0 / 484.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Templates: time 0.002461/0.4046, allocations: 0.4993 MB / 485.4 MB, free: 13.21 MB / 362.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/jenkins1/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