Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.001612/0.001612, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001758/0.001758, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.78/1.78, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 48.42 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1635, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.005026/0.1686, allocations: 1.577 MB / 351.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1701, allocations: 0.4962 MB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.1703, allocations: 3.938 kB / 352.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.07e-05/0.1704, allocations: 11.94 kB / 352.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1706, allocations: 3.938 kB / 352.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1711, allocations: 63.73 kB / 352.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1713, allocations: 39.86 kB / 352.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1715, allocations: 16.19 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1716, allocations: 27.84 kB / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.1717, allocations: 27.86 kB / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1717, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.1718, allocations: 4 kB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.1718, allocations: 15.92 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.1719, allocations: 27.81 kB / 352.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1721, allocations: 51.8 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1721, allocations: 0 / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1721, allocations: 0 / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1722, allocations: 0 / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007467/0.1729, allocations: 387.3 kB / 352.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.173, allocations: 15.89 kB / 352.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.173, allocations: 34.73 kB / 352.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1731, allocations: 12.84 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1734, allocations: 196.1 kB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1735, allocations: 4.375 kB / 353.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1735, allocations: 4.359 kB / 353.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.1739, allocations: 117.8 kB / 353.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1739, allocations: 3.984 kB / 353.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.174, allocations: 0 / 353.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.174, allocations: 3.938 kB / 353.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1741, allocations: 31.92 kB / 353.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1745, allocations: 278.5 kB / 353.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1747, allocations: 71.77 kB / 353.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.1748, allocations: 26.64 kB / 353.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.1748, allocations: 11.98 kB / 353.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.1749, allocations: 34.5 kB / 353.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.1749, allocations: 0 / 353.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003637/0.1753, allocations: 85.52 kB / 353.8 MB, free: 456 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1754, allocations: 107.2 kB / 353.9 MB, free: 324 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1756, allocations: 141.8 kB / 354.1 MB, free: 172 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1756, allocations: 25.7 kB / 354.1 MB, free: 140 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.1757, allocations: 92.14 kB / 354.2 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1758, allocations: 11.84 kB / 354.2 MB, free: 32 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1758, allocations: 21.7 kB / 354.2 MB, free: 4 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.176, allocations: 314.8 kB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.1761, allocations: 19.98 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1762, allocations: 31.38 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1763, allocations: 51.36 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1763, allocations: 0 / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/0.1765, allocations: 69.52 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1765, allocations: 10.81 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1765, allocations: 0 / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1765, allocations: 0 / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.1766, allocations: 11.98 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1766, allocations: 0 / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1767, allocations: 8.125 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1767, allocations: 4 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0001041/0.1768, allocations: 125.7 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.1769, allocations: 49.61 kB / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1769, allocations: 11.86 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1769, allocations: 0 / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.177, allocations: 4 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.177, allocations: 0 / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1772, allocations: 173.6 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1772, allocations: 4.062 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.1773, allocations: 19.92 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1773, allocations: 0 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1773, allocations: 0 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1773, allocations: 4 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1773, allocations: 0 / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1775, allocations: 177.1 kB / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.1776, allocations: 96.94 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1776, allocations: 4 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1777, allocations: 0 / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1777, allocations: 11.92 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1778, allocations: 4 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.1779, allocations: 113.8 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.1779, allocations: 4 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1781, allocations: 11.94 kB / 355.5 MB, free: 14.55 MB / 302.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.0006927/0.1788, allocations: 0.7062 MB / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.179, allocations: 35.92 kB / 356.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.179, allocations: 0 / 356.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.179, allocations: 15.92 kB / 356.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1795, allocations: 27.95 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1813, allocations: 1.388 MB / 357.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1817, allocations: 0.6926 MB / 358.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.287e-05/0.1818, allocations: 7.984 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.1818, allocations: 19.44 kB / 358.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1818, allocations: 0 / 358.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.2298, allocations: 1.64 MB / 360 MB, free: 9.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.934, allocations: 7.969 kB / 360 MB, free: 9.934 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches