Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001327/0.001327, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.001613/0.001613, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.561/1.561, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 54.92 kB / 300.1 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 49.43 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004375/0.1581, allocations: 1.666 MB / 351.2 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1594, allocations: 0.5103 MB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1596, allocations: 4 kB / 351.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.1598, allocations: 7.922 kB / 351.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1601, allocations: 3.938 kB / 351.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.1605, allocations: 55.88 kB / 351.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1607, allocations: 55.73 kB / 351.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1608, allocations: 19.98 kB / 351.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1609, allocations: 23.92 kB / 351.9 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.161, allocations: 27.84 kB / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.161, allocations: 0 / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.161, allocations: 4 kB / 351.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1611, allocations: 11.94 kB / 351.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1612, allocations: 35.73 kB / 351.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1613, allocations: 55.73 kB / 352 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.1613, allocations: 8 kB / 352 MB, free: 2.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1613, allocations: 4 kB / 352 MB, free: 2.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1614, allocations: 0 / 352 MB, free: 2.008 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006354/0.162, allocations: 393.6 kB / 352.4 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1621, allocations: 8.031 kB / 352.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.1621, allocations: 38.75 kB / 352.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1622, allocations: 12.75 kB / 352.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1625, allocations: 207.7 kB / 352.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1625, allocations: 4.375 kB / 352.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1625, allocations: 8.375 kB / 352.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.1629, allocations: 146.7 kB / 352.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1629, allocations: 0 / 352.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1629, allocations: 0 / 352.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.163, allocations: 3.984 kB / 352.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1631, allocations: 31.92 kB / 352.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1635, allocations: 283.5 kB / 353.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1637, allocations: 98.36 kB / 353.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.1638, allocations: 47.48 kB / 353.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1638, allocations: 0 / 353.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1639, allocations: 34.56 kB / 353.3 MB, free: 500 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1639, allocations: 0 / 353.3 MB, free: 500 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003392/0.1642, allocations: 109.4 kB / 353.4 MB, free: 384 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.1643, allocations: 137 kB / 353.5 MB, free: 216 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1645, allocations: 150.5 kB / 353.7 MB, free: 52 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1645, allocations: 29.64 kB / 353.7 MB, free: 16 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.1646, allocations: 92.14 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.1647, allocations: 3.906 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.1647, allocations: 21.7 kB / 353.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1648, allocations: 322.8 kB / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.1649, allocations: 7.984 kB / 354.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.165, allocations: 61.14 kB / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1651, allocations: 61.08 kB / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1651, allocations: 0 / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001794/0.1653, allocations: 85.45 kB / 354.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1653, allocations: 4 kB / 354.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1653, allocations: 4.188 kB / 354.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1654, allocations: 4 kB / 354.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1655, allocations: 19.92 kB / 354.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1655, allocations: 0 / 354.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.1655, allocations: 8 kB / 354.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1656, allocations: 4 kB / 354.4 MB, free: 15.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.000115/0.1657, allocations: 125.7 kB / 354.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1658, allocations: 65.53 kB / 354.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.1658, allocations: 15.97 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1659, allocations: 4 kB / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1659, allocations: 0 / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1659, allocations: 4 kB / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1661, allocations: 181.5 kB / 354.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1661, allocations: 0 / 354.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.1662, allocations: 23.86 kB / 354.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1662, allocations: 0 / 354.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1662, allocations: 4 kB / 354.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1662, allocations: 4 kB / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1662, allocations: 0 / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1665, allocations: 201.9 kB / 355 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1666, allocations: 89 kB / 355.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1666, allocations: 4 kB / 355.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1667, allocations: 11.98 kB / 355.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1667, allocations: 4.188 kB / 355.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.1668, allocations: 4 kB / 355.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.1669, allocations: 117 kB / 355.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 4 kB / 355.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1671, allocations: 8 kB / 355.2 MB, free: 14.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005681/0.1677, allocations: 0.7343 MB / 356 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1679, allocations: 43.91 kB / 356 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1679, allocations: 384 / 356 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.1679, allocations: 8 kB / 356 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.1684, allocations: 44.58 kB / 356.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1701, allocations: 1.502 MB / 357.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1705, allocations: 0.6965 MB / 358.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.1706, allocations: 8.672 kB / 358.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.1707, allocations: 27.42 kB / 358.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1707, allocations: 0 / 358.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5498/0.7205, allocations: 1.837 MB / 360.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003872/0.7209, allocations: 211.3 kB / 360.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.687, allocations: 0 / 360.3 MB, free: 9.086 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches