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: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001327/0.001327, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.775/1.775, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5298, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.004254/0.5341, allocations: 1.486 MB / 401.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.5354, allocations: 453.6 kB / 402.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.5355, allocations: 0 / 402.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.5356, allocations: 7.938 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.5358, allocations: 19.8 kB / 402.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.536, allocations: 31.89 kB / 402.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.5362, allocations: 63.78 kB / 402.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.5363, allocations: 7.984 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.5365, allocations: 43.78 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.5366, allocations: 27.91 kB / 402.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.5367, allocations: 4 kB / 402.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.5367, allocations: 4 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.5368, allocations: 15.92 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.5368, allocations: 23.86 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.537, allocations: 61.48 kB / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.537, allocations: 0 / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.537, allocations: 0 / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.5371, allocations: 0 / 402.5 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.001/0.5381, allocations: 391.2 kB / 402.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.5381, allocations: 8.031 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.5382, allocations: 34.75 kB / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.5383, allocations: 8.844 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5385, allocations: 192.1 kB / 403.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5385, allocations: 4.125 kB / 403.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.5386, allocations: 3.984 kB / 403.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.539, allocations: 92.16 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.539, allocations: 0 / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.539, allocations: 4 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.539, allocations: 0 / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.5395, allocations: 63.88 kB / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.5398, allocations: 183.5 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.5402, allocations: 103.7 kB / 403.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.5404, allocations: 54.55 kB / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.5404, allocations: 0 / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.5405, allocations: 38.5 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5405, allocations: 0 / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0008553/0.5413, allocations: 141.4 kB / 403.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.5414, allocations: 110.8 kB / 403.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5416, allocations: 126.2 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.5417, allocations: 29.7 kB / 404 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.5417, allocations: 92.12 kB / 404.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.5418, allocations: 11.91 kB / 404.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.5419, allocations: 17.7 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.542, allocations: 314.8 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.5423, allocations: 27.97 kB / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.5426, allocations: 58.47 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.5431, allocations: 78.52 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.5431, allocations: 11.94 kB / 404.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006179/0.5438, allocations: 105.5 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5438, allocations: 4 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5438, allocations: 4 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.5438, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5441, allocations: 24.02 kB / 404.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5442, allocations: 4 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.5443, allocations: 11.98 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.5444, allocations: 3.984 kB / 404.8 MB, free: 3.977 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.0001299/0.5445, allocations: 121.7 kB / 404.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.5446, allocations: 7.906 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.5446, allocations: 11.88 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5446, allocations: 0 / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5447, allocations: 0 / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5447, allocations: 8 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.5449, allocations: 173.6 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5449, allocations: 3.984 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.5451, allocations: 15.98 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5452, allocations: 4 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5452, allocations: 0 / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5452, allocations: 3.938 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/0.5452, allocations: 16.02 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.5458, allocations: 150.5 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.5459, allocations: 85.02 kB / 405.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.546, allocations: 4 kB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5462, allocations: 15.98 kB / 405.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.5463, allocations: 3.984 kB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.5463, allocations: 4 kB / 405.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.5464, allocations: 99.27 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5464, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.5468, allocations: 8 kB / 405.5 MB, free: 3.148 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.001011/0.5478, allocations: 0.6841 MB / 406.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.5485, allocations: 71.88 kB / 406.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5485, allocations: 0 / 406.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.5488, allocations: 43.95 kB / 406.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5491, allocations: 3.938 kB / 406.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5502, allocations: 222.9 kB / 406.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.5506, allocations: 0.6922 MB / 407.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.5507, allocations: 0 / 407.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.5508, allocations: 23.42 kB / 407.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5508, allocations: 4 kB / 407.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.58, allocations: 1.731 MB / 409 MB, free: 15.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.46, allocations: 7.797 kB / 409 MB, free: 15.63 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > 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