Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001888/0.001888, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001849/0.001849, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 51.05 kB / 300.7 MB, free: 5.688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 49.44 MB / 350.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004366/0.1529, allocations: 1.558 MB / 351.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1541, allocations: 480.2 kB / 352.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1543, allocations: 4 kB / 352.2 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.098e-05/0.1544, allocations: 7.922 kB / 352.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1546, allocations: 11.86 kB / 352.2 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1549, allocations: 51.83 kB / 352.3 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.155, allocations: 39.86 kB / 352.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1552, allocations: 16.17 kB / 352.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1553, allocations: 31.84 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1554, allocations: 27.86 kB / 352.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1554, allocations: 0 / 352.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.1555, allocations: 4 kB / 352.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.1555, allocations: 11.94 kB / 352.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1556, allocations: 27.8 kB / 352.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1557, allocations: 51.81 kB / 352.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1557, allocations: 0 / 352.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1557, allocations: 0 / 352.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1558, allocations: 0 / 352.5 MB, free: 1.898 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.0005949/0.1564, allocations: 391.3 kB / 352.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1564, allocations: 8.031 kB / 352.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.1565, allocations: 38.69 kB / 352.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.1565, allocations: 12.84 kB / 352.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1568, allocations: 200 kB / 353.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1568, allocations: 4.375 kB / 353.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1569, allocations: 4.375 kB / 353.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1572, allocations: 117.8 kB / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1572, allocations: 0 / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1572, allocations: 0 / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1572, allocations: 0 / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.1573, allocations: 27.92 kB / 353.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1577, allocations: 282.5 kB / 353.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1579, allocations: 67.78 kB / 353.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.158, allocations: 34.62 kB / 353.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.158, allocations: 4 kB / 353.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1581, allocations: 34.5 kB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.126e-06/0.1581, allocations: 3.984 kB / 353.7 MB, free: 488 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003128/0.1584, allocations: 89.86 kB / 353.8 MB, free: 392 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.1585, allocations: 106.8 kB / 353.9 MB, free: 260 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1586, allocations: 140.6 kB / 354 MB, free: 112 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1587, allocations: 29.7 kB / 354 MB, free: 76 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.1588, allocations: 96.06 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1588, allocations: 3.906 kB / 354.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1589, allocations: 17.72 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.159, allocations: 326.8 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1591, allocations: 8 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.1591, allocations: 39.36 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1593, allocations: 47.36 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1593, allocations: 0 / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000154/0.1594, allocations: 69.52 kB / 354.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.1595, allocations: 10.97 kB / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1595, allocations: 0 / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1595, allocations: 0 / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.1596, allocations: 8 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1596, allocations: 4.125 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.1597, allocations: 11.98 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1597, allocations: 4 kB / 354.7 MB, free: 15.39 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.0001092/0.1598, allocations: 121.7 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.1599, allocations: 49.59 kB / 354.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.16, allocations: 11.88 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.16, allocations: 0 / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.16, allocations: 4 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.16, allocations: 4.062 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1602, allocations: 181.5 kB / 355 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1603, allocations: 4 kB / 355 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.1603, allocations: 11.94 kB / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1603, allocations: 0 / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1604, allocations: 0 / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.1604, allocations: 4 kB / 355.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1604, allocations: 3.984 kB / 355.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1606, allocations: 181.1 kB / 355.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.1607, allocations: 89 kB / 355.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1607, allocations: 4 kB / 355.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.1608, allocations: 0 / 355.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.1609, allocations: 11.94 kB / 355.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1609, allocations: 0 / 355.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.161, allocations: 111.2 kB / 355.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 3.938 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1613, allocations: 8 kB / 355.5 MB, free: 14.5 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.0006034/0.1619, allocations: 0.714 MB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1621, allocations: 35.91 kB / 356.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1621, allocations: 0 / 356.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.1621, allocations: 15.94 kB / 356.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1626, allocations: 22.59 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1643, allocations: 1.398 MB / 357.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1646, allocations: 0.6885 MB / 358.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.1646, allocations: 4.234 kB / 358.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1647, allocations: 27.42 kB / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1647, allocations: 0 / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1864, allocations: 1.632 MB / 360 MB, free: 9.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/9.269, allocations: 10.42 kB / 360 MB, free: 9.871 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches