Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.001255/0.001255, allocations: 91.81 kB / 16.65 MB, free: 6.59 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.001351/0.001352, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.646/1.646, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 50.41 MB / 351.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002849/0.1437, allocations: 1.296 MB / 353.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1451, allocations: 490.8 kB / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.1454, allocations: 0 / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.002e-05/0.1455, allocations: 0 / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1457, allocations: 11.88 kB / 353.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.1463, allocations: 47.88 kB / 353.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1465, allocations: 43.86 kB / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1467, allocations: 20.11 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1468, allocations: 15.92 kB / 353.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.1469, allocations: 23.86 kB / 353.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.147, allocations: 3.938 kB / 353.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.147, allocations: 4 kB / 353.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.1471, allocations: 11.92 kB / 353.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.1472, allocations: 49.5 kB / 353.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1474, allocations: 51.8 kB / 354 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1474, allocations: 0 / 354 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1474, allocations: 4 kB / 354 MB, free: 1.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1474, allocations: 0 / 354 MB, free: 1.504 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.0007667/0.1482, allocations: 367.4 kB / 354.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.1483, allocations: 12.03 kB / 354.4 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.1483, allocations: 34.73 kB / 354.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.1484, allocations: 12.84 kB / 354.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1487, allocations: 194.8 kB / 354.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1488, allocations: 4.375 kB / 354.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1488, allocations: 12.36 kB / 354.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1492, allocations: 113.8 kB / 354.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1492, allocations: 0 / 354.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1492, allocations: 4 kB / 354.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1492, allocations: 0 / 354.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1494, allocations: 35.92 kB / 354.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.1498, allocations: 270.5 kB / 355 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1499, allocations: 71.78 kB / 355.1 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.15, allocations: 30.64 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.15, allocations: 7.984 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1501, allocations: 42.5 kB / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.1501, allocations: 0 / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003666/0.1505, allocations: 89.45 kB / 355.3 MB, free: 8 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.1506, allocations: 111.2 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1507, allocations: 141.8 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1508, allocations: 25.7 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1508, allocations: 96.06 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1508, allocations: 3.906 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1509, allocations: 13.72 kB / 355.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.151, allocations: 322.8 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.1511, allocations: 12 kB / 356 MB, free: 15.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.1512, allocations: 35.42 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1513, allocations: 59.36 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1513, allocations: 0 / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001544/0.1515, allocations: 65.61 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1515, allocations: 8 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1515, allocations: 0 / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1515, allocations: 0 / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.1516, allocations: 24.05 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1517, allocations: 3.938 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1517, allocations: 7.906 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1517, allocations: 0 / 356.2 MB, free: 15.01 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.0001115/0.1518, allocations: 121.8 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.1519, allocations: 49.59 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.152, allocations: 11.88 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.152, allocations: 11.98 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.152, allocations: 0 / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.152, allocations: 4 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1522, allocations: 173.6 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1522, allocations: 4 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.1523, allocations: 11.98 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1523, allocations: 0 / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1523, allocations: 4 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1524, allocations: 4 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1524, allocations: 0 / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1526, allocations: 189.1 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.1527, allocations: 93 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1527, allocations: 4 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1528, allocations: 7.938 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1529, allocations: 7.984 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1529, allocations: 0 / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.153, allocations: 109.8 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.153, allocations: 0 / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1532, allocations: 8 kB / 357 MB, free: 14.1 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.0006134/0.1539, allocations: 0.7217 MB / 357.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.154, allocations: 32.17 kB / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1541, allocations: 4.062 kB / 357.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.1541, allocations: 15.92 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.1546, allocations: 31.27 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1562, allocations: 1.416 MB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1565, allocations: 0.6965 MB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.406e-05/0.1566, allocations: 0 / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.1567, allocations: 23.38 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1567, allocations: 0 / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.1709, allocations: 1.474 MB / 361.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.1713, allocations: 219.9 kB / 361.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.092, allocations: 0 / 361.6 MB, free: 9.41 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches