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.001265/0.001265, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.00132/0.001321, allocations: 192 kB / 18 MB, free: 4.977 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.441/1.441, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 43.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4053, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003071/0.4085, allocations: 1.48 MB / 402.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.4094, allocations: 465 kB / 402.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.4094, allocations: 0 / 402.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.4095, allocations: 3.938 kB / 402.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.4096, allocations: 23.78 kB / 402.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.4099, allocations: 23.97 kB / 402.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.41, allocations: 71.66 kB / 402.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.4101, allocations: 7.938 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.4103, allocations: 43.83 kB / 402.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4105, allocations: 31.84 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.4105, allocations: 4 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.4105, allocations: 4 kB / 402.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.4106, allocations: 11.98 kB / 402.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.4106, allocations: 23.86 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.4108, allocations: 55.81 kB / 403 MB, free: 6.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.4109, allocations: 0 / 403 MB, free: 6.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4109, allocations: 0 / 403 MB, free: 6.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4109, allocations: 0 / 403 MB, free: 6.621 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.0009952/0.4119, allocations: 388.3 kB / 403.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.412, allocations: 8.031 kB / 403.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.412, allocations: 8.844 kB / 403.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4123, allocations: 188.2 kB / 403.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4123, allocations: 4.375 kB / 403.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.4124, allocations: 7.875 kB / 403.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.4128, allocations: 92.16 kB / 403.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4128, allocations: 0 / 403.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.4128, allocations: 4 kB / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4128, allocations: 0 / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.4131, allocations: 63.88 kB / 403.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.4134, allocations: 187.4 kB / 403.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.4137, allocations: 103.7 kB / 404 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.4139, allocations: 50.61 kB / 404 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4139, allocations: 0 / 404 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.414, allocations: 38.55 kB / 404.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.414, allocations: 0 / 404.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006402/0.4147, allocations: 145.5 kB / 404.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.4147, allocations: 102.8 kB / 404.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4149, allocations: 125.5 kB / 404.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.415, allocations: 30.06 kB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4151, allocations: 96.14 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.4151, allocations: 11.81 kB / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.4152, allocations: 17.7 kB / 404.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4154, allocations: 314.8 kB / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.4156, allocations: 35.95 kB / 404.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.4157, allocations: 46.55 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.416, allocations: 86.45 kB / 405.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.416, allocations: 0 / 405.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003344/0.4164, allocations: 113.4 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4164, allocations: 8 kB / 405.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4164, allocations: 3.938 kB / 405.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.4165, allocations: 0 / 405.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4166, allocations: 19.98 kB / 405.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.4167, allocations: 8.078 kB / 405.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.4168, allocations: 8 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4168, allocations: 7.984 kB / 405.2 MB, free: 4.059 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.0001355/0.4169, allocations: 125.7 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.417, allocations: 7.906 kB / 405.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.417, allocations: 7.875 kB / 405.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.417, allocations: 0 / 405.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.417, allocations: 7.938 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4171, allocations: 7.984 kB / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.4173, allocations: 177.6 kB / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4173, allocations: 0 / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4174, allocations: 15.98 kB / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4174, allocations: 0 / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4174, allocations: 3.984 kB / 405.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4174, allocations: 4 kB / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4174, allocations: 0 / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.4178, allocations: 146.7 kB / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.4179, allocations: 93.05 kB / 405.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4179, allocations: 4 kB / 405.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.4181, allocations: 11.98 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.4181, allocations: 11.98 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4182, allocations: 0 / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.341e-05/0.4182, allocations: 99.27 kB / 405.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4183, allocations: 0 / 405.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.4185, allocations: 12 kB / 405.9 MB, free: 3.23 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.0001389/0.4186, allocations: 99.7 kB / 406 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.419, allocations: 75.88 kB / 406.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.419, allocations: 0 / 406.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4192, allocations: 39.91 kB / 406.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.4194, allocations: 11.92 kB / 406.2 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.42, allocations: 189.3 kB / 406.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4204, allocations: 0.6922 MB / 407 MB, free: 2.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.4204, allocations: 0 / 407 MB, free: 2.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.4205, allocations: 15.44 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4205, allocations: 0 / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Templates: time 0.003453/0.4239, allocations: 0.6067 MB / 407.7 MB, free: 1.445 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/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