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.001559/0.001559, allocations: 100.2 kB / 16.62 MB, free: 6.812 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.001778/0.001778, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.513/1.513, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 50.55 kB / 300.2 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1277, allocations: 49.45 MB / 349.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004419/0.1322, allocations: 1.628 MB / 351.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1334, allocations: 498.7 kB / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1336, allocations: 4 kB / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.49e-05/0.1337, allocations: 3.938 kB / 351.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1339, allocations: 11.92 kB / 351.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1343, allocations: 39.91 kB / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1344, allocations: 51.8 kB / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1346, allocations: 20.16 kB / 351.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.1347, allocations: 15.94 kB / 352 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.1347, allocations: 19.86 kB / 352 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1348, allocations: 4 kB / 352 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.1348, allocations: 4 kB / 352 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1349, allocations: 19.91 kB / 352 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1349, allocations: 27.81 kB / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1351, allocations: 55.8 kB / 352.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1351, allocations: 0 / 352.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1351, allocations: 0 / 352.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1351, allocations: 0 / 352.1 MB, free: 2.004 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.0005849/0.1357, allocations: 387.2 kB / 352.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1358, allocations: 8.031 kB / 352.5 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1358, allocations: 34.75 kB / 352.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1359, allocations: 8.844 kB / 352.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1361, allocations: 200.1 kB / 352.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1361, allocations: 8.375 kB / 352.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1362, allocations: 4.359 kB / 352.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1365, allocations: 117.8 kB / 352.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1365, allocations: 0 / 352.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1365, allocations: 0 / 352.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1365, allocations: 4 kB / 352.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.1367, allocations: 27.92 kB / 352.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1371, allocations: 270.5 kB / 353.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1372, allocations: 71.78 kB / 353.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.1373, allocations: 30.62 kB / 353.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1373, allocations: 8 kB / 353.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1374, allocations: 38.44 kB / 353.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1374, allocations: 4 kB / 353.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002964/0.1377, allocations: 81.52 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.1378, allocations: 102.8 kB / 353.5 MB, free: 388 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1379, allocations: 148.6 kB / 353.6 MB, free: 232 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.138, allocations: 30.02 kB / 353.6 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.138, allocations: 92.14 kB / 353.7 MB, free: 100 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1381, allocations: 15.88 kB / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1381, allocations: 13.72 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1383, allocations: 318.8 kB / 354.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.1383, allocations: 11.98 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.1384, allocations: 35.42 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1385, allocations: 47.36 kB / 354.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1385, allocations: 0 / 354.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001469/0.1387, allocations: 69.66 kB / 354.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1387, allocations: 12 kB / 354.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1387, allocations: 3.984 kB / 354.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1387, allocations: 0 / 354.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.1388, allocations: 8 kB / 354.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1388, allocations: 3.938 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1389, allocations: 4 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1389, allocations: 4 kB / 354.3 MB, free: 15.52 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.0001054/0.139, allocations: 121.8 kB / 354.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.1391, allocations: 53.59 kB / 354.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1392, allocations: 15.81 kB / 354.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1392, allocations: 0 / 354.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.1392, allocations: 11.94 kB / 354.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1392, allocations: 0 / 354.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1394, allocations: 173.6 kB / 354.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1394, allocations: 0 / 354.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.1395, allocations: 11.98 kB / 354.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1395, allocations: 0 / 354.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1395, allocations: 0 / 354.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1395, allocations: 8.062 kB / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1396, allocations: 0 / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1398, allocations: 181 kB / 354.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.1399, allocations: 96.94 kB / 354.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1399, allocations: 7.984 kB / 354.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.14, allocations: 4 kB / 354.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.14, allocations: 4 kB / 354.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.14, allocations: 0 / 354.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.1401, allocations: 107.2 kB / 355 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1401, allocations: 0 / 355 MB, free: 14.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1404, allocations: 8 kB / 355.1 MB, free: 14.62 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.0005812/0.141, allocations: 0.7179 MB / 355.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1412, allocations: 43.91 kB / 355.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1412, allocations: 0 / 355.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.1412, allocations: 12.25 kB / 355.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1417, allocations: 21.39 kB / 355.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1434, allocations: 1.399 MB / 357.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1439, allocations: 0.6963 MB / 357.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.1439, allocations: 4 kB / 357.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.144, allocations: 15.42 kB / 358 MB, free: 11.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.144, allocations: 0 / 358 MB, free: 11.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1579, allocations: 1.598 MB / 359.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1581, allocations: 216.7 kB / 359.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.305, allocations: 4 kB / 359.8 MB, free: 9.824 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