Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009534/0.0009535, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002088, allocations: 4 kB / 307.8 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1025, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001533/0.1041, allocations: 1.313 MB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.1049, allocations: 0.53 MB / 361.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.105, allocations: 3.938 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.105, allocations: 3.938 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1052, allocations: 19.8 kB / 361.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1054, allocations: 55.83 kB / 361.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.1055, allocations: 39.86 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.1056, allocations: 24.16 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1057, allocations: 23.92 kB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.1058, allocations: 19.86 kB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1058, allocations: 4 kB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.1058, allocations: 4 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.1059, allocations: 19.91 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1059, allocations: 45.52 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.106, allocations: 55.73 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.106, allocations: 0 / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.106, allocations: 4 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.106, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.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.0003638/0.1064, allocations: 383.3 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1064, allocations: 8.031 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.1065, allocations: 34.75 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1066, allocations: 20.83 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1068, allocations: 192.7 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1068, allocations: 8.125 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1068, allocations: 8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.107, allocations: 113.9 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.107, allocations: 0 / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1071, allocations: 0 / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1071, allocations: 8 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.1072, allocations: 27.92 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.1074, allocations: 286.4 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1076, allocations: 67.84 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.1076, allocations: 38.56 kB / 362.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1077, allocations: 4 kB / 362.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.1077, allocations: 42.56 kB / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1077, allocations: 0 / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002351/0.1079, allocations: 85.52 kB / 362.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.108, allocations: 115.1 kB / 362.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1081, allocations: 158.8 kB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1081, allocations: 25.7 kB / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.1082, allocations: 84.14 kB / 363.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.1082, allocations: 7.984 kB / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1082, allocations: 13.72 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.1083, allocations: 310.8 kB / 363.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.1084, allocations: 19.98 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.1085, allocations: 43.3 kB / 363.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.1085, allocations: 55.36 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1086, allocations: 0 / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.1087, allocations: 69.53 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1087, allocations: 4 kB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1087, allocations: 4 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1088, allocations: 8.109 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1088, allocations: 11.94 kB / 363.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.1088, allocations: 3.938 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.1089, allocations: 4 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1089, allocations: 4 kB / 363.7 MB, free: 8.273 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 7.054e-05/0.109, allocations: 126.9 kB / 363.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.109, allocations: 57.53 kB / 363.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.1091, allocations: 11.94 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1091, allocations: 0 / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1091, allocations: 3.938 kB / 363.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1091, allocations: 0 / 363.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.1093, allocations: 173.7 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1093, allocations: 3.984 kB / 364.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.1093, allocations: 8 kB / 364.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.1093, allocations: 4 kB / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1094, allocations: 0 / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1094, allocations: 0 / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1094, allocations: 11.94 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1095, allocations: 177.1 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.1096, allocations: 93 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1096, allocations: 3.984 kB / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1097, allocations: 8 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.1097, allocations: 3.938 kB / 364.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1097, allocations: 4 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.1098, allocations: 115.2 kB / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1098, allocations: 0 / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.11, allocations: 4 kB / 364.5 MB, free: 7.371 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.0003973/0.1104, allocations: 0.714 MB / 365.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1106, allocations: 44.28 kB / 365.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1106, allocations: 0 / 365.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.1106, allocations: 15.94 kB / 365.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1109, allocations: 31.88 kB / 365.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1121, allocations: 1.427 MB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1123, allocations: 0.6926 MB / 367.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.693e-05/0.1124, allocations: 7.984 kB / 367.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1124, allocations: 19.44 kB / 367.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1124, allocations: 0 / 367.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00967/0.1221, allocations: 1.507 MB / 369 MB, free: 2.895 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.1223, allocations: 214.9 kB / 369.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.823, allocations: 0 / 369.2 MB, free: 2.637 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches