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.00135/0.00135, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001258/0.001258, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.469/1.469, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 43.52 kB / 300.1 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1516, allocations: 49.45 MB / 349.5 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004504/0.1562, allocations: 1.635 MB / 351.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1574, allocations: 498.8 kB / 351.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1576, allocations: 0 / 351.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.302e-05/0.1577, allocations: 3.938 kB / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1579, allocations: 15.92 kB / 351.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.1584, allocations: 39.91 kB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1585, allocations: 43.8 kB / 351.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1587, allocations: 12.17 kB / 351.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1589, allocations: 23.92 kB / 351.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.159, allocations: 19.86 kB / 351.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.159, allocations: 4 kB / 351.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.159, allocations: 7.938 kB / 351.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.1591, allocations: 15.92 kB / 351.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.1592, allocations: 23.81 kB / 351.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1594, allocations: 51.8 kB / 351.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1594, allocations: 0 / 351.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1594, allocations: 0 / 351.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1594, allocations: 0 / 351.9 MB, free: 2.121 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.0007694/0.1602, allocations: 383.3 kB / 352.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.1602, allocations: 8.031 kB / 352.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.666e-05/0.1603, allocations: 38.73 kB / 352.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.1604, allocations: 8.844 kB / 352.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1607, allocations: 200.1 kB / 352.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1608, allocations: 4.375 kB / 352.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1608, allocations: 4.375 kB / 352.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.1612, allocations: 125.8 kB / 352.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1612, allocations: 0 / 352.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1613, allocations: 0 / 352.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1613, allocations: 0 / 352.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1614, allocations: 19.98 kB / 352.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.162, allocations: 286.5 kB / 353 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1621, allocations: 67.78 kB / 353 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.1622, allocations: 30.62 kB / 353 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1623, allocations: 4 kB / 353.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1623, allocations: 38.5 kB / 353.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1623, allocations: 3.938 kB / 353.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003867/0.1627, allocations: 89.45 kB / 353.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.1629, allocations: 103.2 kB / 353.3 MB, free: 500 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1631, allocations: 148.6 kB / 353.4 MB, free: 344 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1631, allocations: 25.7 kB / 353.5 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1632, allocations: 92.14 kB / 353.5 MB, free: 216 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1632, allocations: 3.906 kB / 353.5 MB, free: 212 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.1633, allocations: 21.7 kB / 353.6 MB, free: 184 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.1636, allocations: 314.8 kB / 353.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.1636, allocations: 15.98 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.1637, allocations: 39.41 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1638, allocations: 47.36 kB / 354 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1638, allocations: 0 / 354 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001787/0.164, allocations: 73.47 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.1641, allocations: 4 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1641, allocations: 4 kB / 354.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1641, allocations: 0 / 354.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1642, allocations: 11.98 kB / 354.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1643, allocations: 0 / 354.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.1643, allocations: 4 kB / 354.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1643, allocations: 0 / 354.1 MB, free: 15.64 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.0001326/0.1645, allocations: 129.9 kB / 354.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1646, allocations: 53.55 kB / 354.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1647, allocations: 11.86 kB / 354.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1647, allocations: 0 / 354.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1647, allocations: 4 kB / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1647, allocations: 0 / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.165, allocations: 173.6 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.165, allocations: 0 / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.1651, allocations: 20.05 kB / 354.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1651, allocations: 0 / 354.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.1651, allocations: 0 / 354.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1651, allocations: 0 / 354.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.1651, allocations: 11.94 kB / 354.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1654, allocations: 173.1 kB / 354.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.1655, allocations: 97 kB / 354.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1655, allocations: 7.938 kB / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1656, allocations: 3.984 kB / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1656, allocations: 0 / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1656, allocations: 4 kB / 354.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1658, allocations: 111.2 kB / 354.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1658, allocations: 3.938 kB / 354.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.166, allocations: 8 kB / 354.9 MB, free: 14.73 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.000718/0.1668, allocations: 0.7139 MB / 355.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1669, allocations: 40.09 kB / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.167, allocations: 0 / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.167, allocations: 4 kB / 355.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.1675, allocations: 28.02 kB / 355.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1693, allocations: 1.416 MB / 357.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1698, allocations: 0.6926 MB / 357.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.1699, allocations: 0 / 357.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.17, allocations: 19.42 kB / 357.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 3.136e-06/0.17, allocations: 0 / 357.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2808/0.4508, allocations: 1.547 MB / 359.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.4511, allocations: 212.1 kB / 359.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.485, allocations: 3.875 kB / 359.5 MB, free: 9.969 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