Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001116/0.001116, allocations: 92.06 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.001376/0.001376, allocations: 181.1 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.616/1.616, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003444, allocations: 9.531 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 50.42 MB / 352 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002353/0.1291, allocations: 1.265 MB / 353.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1301, allocations: 482.8 kB / 353.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1303, allocations: 4 kB / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.1304, allocations: 0 / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1305, allocations: 3.938 kB / 353.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1309, allocations: 59.81 kB / 353.8 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1311, allocations: 35.86 kB / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1312, allocations: 16.12 kB / 353.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.1313, allocations: 23.92 kB / 353.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.1313, allocations: 23.84 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1314, allocations: 0 / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.1314, allocations: 0 / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.1315, allocations: 11.94 kB / 353.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.1315, allocations: 53.5 kB / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1316, allocations: 47.8 kB / 354 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1317, allocations: 0 / 354 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1317, allocations: 0 / 354 MB, free: 1.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1317, allocations: 0 / 354 MB, free: 1.547 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.0005131/0.1322, allocations: 375.4 kB / 354.3 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1322, allocations: 8.031 kB / 354.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.1323, allocations: 34.73 kB / 354.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1323, allocations: 12.84 kB / 354.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1326, allocations: 192.1 kB / 354.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1326, allocations: 4.375 kB / 354.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1326, allocations: 4.359 kB / 354.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1329, allocations: 121 kB / 354.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1329, allocations: 0 / 354.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1329, allocations: 0 / 354.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.133, allocations: 0 / 354.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1331, allocations: 27.92 kB / 354.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1334, allocations: 265.8 kB / 355 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.1335, allocations: 45.14 kB / 355 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1336, allocations: 25.78 kB / 355.1 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1336, allocations: 0 / 355.1 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1337, allocations: 30.56 kB / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1337, allocations: 0 / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002894/0.134, allocations: 77.73 kB / 355.2 MB, free: 148 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.134, allocations: 85.11 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1342, allocations: 140.7 kB / 355.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1342, allocations: 25.7 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.1343, allocations: 92.08 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1343, allocations: 15.78 kB / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.1344, allocations: 13.7 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1345, allocations: 318.8 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.1345, allocations: 12.03 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.1346, allocations: 21.7 kB / 355.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.422e-05/0.1347, allocations: 41.7 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1347, allocations: 0 / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001461/0.1348, allocations: 57.62 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1349, allocations: 4 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1349, allocations: 4 kB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1349, allocations: 3.984 kB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.135, allocations: 4 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.135, allocations: 8.047 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1351, allocations: 4 kB / 356 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1351, allocations: 0 / 356 MB, free: 15.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001004/0.1352, allocations: 125.8 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.1352, allocations: 33.61 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1353, allocations: 15.86 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1353, allocations: 0 / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1353, allocations: 0 / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1353, allocations: 8.031 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1355, allocations: 173.5 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1355, allocations: 0 / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.1356, allocations: 8 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1356, allocations: 0 / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1356, allocations: 4 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1356, allocations: 0 / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1356, allocations: 0 / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1358, allocations: 172.2 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1359, allocations: 89 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1359, allocations: 0 / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.136, allocations: 4 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.136, allocations: 3.984 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.136, allocations: 4 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.1361, allocations: 114 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1361, allocations: 0 / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1364, allocations: 11.94 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004291/0.1368, allocations: 0.7014 MB / 357.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1369, allocations: 23.92 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1369, allocations: 4 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.137, allocations: 15.92 kB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1374, allocations: 24.23 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1387, allocations: 1.35 MB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.139, allocations: 0.6887 MB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.139, allocations: 7.984 kB / 359.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.1391, allocations: 15.42 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1391, allocations: 4.031 kB / 359.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.1608, allocations: 1.358 MB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.1612, allocations: 212.8 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.132, allocations: 4.062 kB / 361.1 MB, free: 9.938 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches