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.001688/0.001688, allocations: 108.5 kB / 17.74 MB, free: 5.34 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.002045/0.002045, allocations: 190.9 kB / 18.68 MB, free: 4.41 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.501/1.501, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3897, allocations: 49.44 MB / 401.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.005267/0.3951, allocations: 1.485 MB / 402.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3965, allocations: 457.1 kB / 403.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.3966, allocations: 0 / 403.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.3967, allocations: 3.938 kB / 403.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3969, allocations: 27.78 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3973, allocations: 27.91 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3975, allocations: 63.78 kB / 403.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.3976, allocations: 4 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.3978, allocations: 43.77 kB / 403.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.398, allocations: 31.91 kB / 403.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.398, allocations: 4 kB / 403.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.398, allocations: 4 kB / 403.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.3981, allocations: 15.92 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.3981, allocations: 23.86 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3983, allocations: 55.8 kB / 403.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3983, allocations: 0 / 403.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.3984, allocations: 4 kB / 403.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3984, allocations: 0 / 403.6 MB, free: 6.586 MB / 318.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.001008/0.3994, allocations: 383.4 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001061/0.3995, allocations: 16.03 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.3996, allocations: 12.78 kB / 404 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3998, allocations: 176.2 kB / 404.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3999, allocations: 4.375 kB / 404.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.3999, allocations: 7.875 kB / 404.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.4003, allocations: 88.2 kB / 404.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4003, allocations: 4 kB / 404.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4004, allocations: 4 kB / 404.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4004, allocations: 0 / 404.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.4007, allocations: 59.88 kB / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.4011, allocations: 187.4 kB / 404.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4014, allocations: 103.7 kB / 404.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4016, allocations: 54.55 kB / 404.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4016, allocations: 4 kB / 404.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.4017, allocations: 34.56 kB / 404.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.165e-06/0.4017, allocations: 0 / 404.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006326/0.4023, allocations: 145.8 kB / 404.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.4024, allocations: 106.8 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4026, allocations: 125.5 kB / 405.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4026, allocations: 29.7 kB / 405.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.4027, allocations: 88.12 kB / 405.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4028, allocations: 15.81 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.4028, allocations: 17.7 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.403, allocations: 318.9 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.4032, allocations: 31.97 kB / 405.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4034, allocations: 46.53 kB / 405.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4037, allocations: 90.45 kB / 405.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4037, allocations: 0 / 405.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003741/0.4041, allocations: 113.5 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4041, allocations: 8 kB / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4042, allocations: 0 / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.4042, allocations: 3.984 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4044, allocations: 19.98 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4044, allocations: 0 / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4045, allocations: 15.92 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4045, allocations: 7.984 kB / 405.9 MB, free: 4.027 MB / 318.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 0.0001656/0.4047, allocations: 121.8 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4048, allocations: 7.906 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.4048, allocations: 11.88 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4048, allocations: 0 / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.4048, allocations: 4 kB / 406 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4048, allocations: 0 / 406 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.4051, allocations: 177.6 kB / 406.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4051, allocations: 11.92 kB / 406.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4052, allocations: 15.98 kB / 406.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4052, allocations: 4 kB / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4053, allocations: 0 / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.4053, allocations: 4 kB / 406.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4053, allocations: 7.922 kB / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4057, allocations: 150.6 kB / 406.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.4058, allocations: 85.02 kB / 406.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.4058, allocations: 4 kB / 406.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.406, allocations: 11.98 kB / 406.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.406, allocations: 3.984 kB / 406.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4061, allocations: 4 kB / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.4061, allocations: 99.27 kB / 406.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4062, allocations: 4 kB / 406.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.4064, allocations: 8 kB / 406.6 MB, free: 3.199 MB / 318.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.0001597/0.4065, allocations: 99.72 kB / 406.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.407, allocations: 79.86 kB / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.407, allocations: 0 / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4071, allocations: 44.09 kB / 406.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4074, allocations: 11.06 kB / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.4082, allocations: 210.5 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.4088, allocations: 0.6963 MB / 407.8 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.4089, allocations: 15.44 kB / 407.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4089, allocations: 0 / 407.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Templates: time 0.003735/0.4126, allocations: 0.8795 MB / 408.7 MB, free: 1.105 MB / 318.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