Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001074, allocations: 200.6 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 226.5 MB / 244.7 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007874/0.0007877, allocations: 98.62 kB / 296.7 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 8 kB / 356.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00118/0.2058, allocations: 1.21 MB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005435/0.2064, allocations: 449.1 kB / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.2065, allocations: 1.812 kB / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.2065, allocations: 0 / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.2066, allocations: 19.8 kB / 409.8 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.2067, allocations: 24.75 kB / 409.8 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.2068, allocations: 67.7 kB / 409.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.2069, allocations: 5.156 kB / 409.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.207, allocations: 30.3 kB / 409.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.2071, allocations: 43.75 kB / 410 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2071, allocations: 0 / 410 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.2071, allocations: 12 kB / 410 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2072, allocations: 3.984 kB / 410 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2072, allocations: 49.58 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.891e-05/0.2073, allocations: 40.55 kB / 410.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2073, allocations: 0 / 410.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2073, allocations: 5.094 kB / 410.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2073, allocations: 0 / 410.1 MB, free: 25.76 MB / 298.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.0004859/0.2078, allocations: 404.3 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2078, allocations: 8.031 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.2079, allocations: 30.75 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.2082, allocations: 40.31 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.2083, allocations: 177.1 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.2083, allocations: 384 / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2083, allocations: 384 / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.2085, allocations: 98.66 kB / 410.8 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2085, allocations: 3.938 kB / 410.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2085, allocations: 4 kB / 410.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2086, allocations: 4 kB / 410.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.2088, allocations: 79.92 kB / 410.9 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.209, allocations: 183.5 kB / 411.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.2092, allocations: 115.8 kB / 411.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2093, allocations: 54.61 kB / 411.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2094, allocations: 3.938 kB / 411.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2094, allocations: 42.5 kB / 411.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2094, allocations: 0 / 411.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004917/0.2099, allocations: 161.8 kB / 411.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2099, allocations: 106.8 kB / 411.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.21, allocations: 137 kB / 411.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.21, allocations: 25.7 kB / 411.7 MB, free: 23.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.2101, allocations: 96.12 kB / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2101, allocations: 11.8 kB / 411.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2101, allocations: 0 / 411.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.2101, allocations: 318.8 kB / 412.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2103, allocations: 43.95 kB / 412.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2104, allocations: 58.55 kB / 412.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.2107, allocations: 102.5 kB / 412.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2107, allocations: 0 / 412.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002984/0.211, allocations: 129.4 kB / 412.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.211, allocations: 4 kB / 412.5 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.211, allocations: 0 / 412.5 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.211, allocations: 7.938 kB / 412.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2112, allocations: 23.98 kB / 412.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2112, allocations: 12.02 kB / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.2113, allocations: 12 kB / 412.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2113, allocations: 7.984 kB / 412.5 MB, free: 23.02 MB / 298.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 5.349e-05/0.2114, allocations: 121.7 kB / 412.6 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2114, allocations: 11.84 kB / 412.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.2114, allocations: 11.97 kB / 412.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2114, allocations: 3.984 kB / 412.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2114, allocations: 4 kB / 412.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2114, allocations: 3.984 kB / 412.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.844e-05/0.2115, allocations: 173.6 kB / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2115, allocations: 0 / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2116, allocations: 27.86 kB / 412.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2116, allocations: 0 / 412.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2117, allocations: 7.984 kB / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2117, allocations: 0 / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2117, allocations: 0 / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.212, allocations: 162.7 kB / 413 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.212, allocations: 85.05 kB / 413.1 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.212, allocations: 0 / 413.1 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.2121, allocations: 15.98 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.2122, allocations: 11.92 kB / 413.1 MB, free: 22.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2122, allocations: 4 kB / 413.2 MB, free: 22.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.2122, allocations: 99.27 kB / 413.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 0 / 413.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.2124, allocations: 8 kB / 413.3 MB, free: 22.17 MB / 298.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.0004552/0.2129, allocations: 0.6921 MB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.2132, allocations: 87.88 kB / 414 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2132, allocations: 4.188 kB / 414 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.2134, allocations: 47.89 kB / 414.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2135, allocations: 8 kB / 414.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.2141, allocations: 275.4 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.922e-05/0.2142, allocations: 0.6848 MB / 415 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.2142, allocations: 27.42 kB / 415.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2142, allocations: 3.938 kB / 415.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.381/2.595, allocations: 1.061 MB / 416.1 MB, free: 19.18 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches