Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001474/0.001474, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.83 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09194, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003046/0.09502, allocations: 1.554 MB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.09606, allocations: 0.561 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.09618, allocations: 4 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.09626, allocations: 3.938 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.0964, allocations: 7.875 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.09678, allocations: 63.75 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.0969, allocations: 47.8 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.09702, allocations: 28.14 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.09715, allocations: 27.86 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.09723, allocations: 23.86 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.09725, allocations: 4 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.0973, allocations: 4 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.09736, allocations: 19.92 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.09741, allocations: 27.8 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.09754, allocations: 59.73 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09756, allocations: 0 / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09757, allocations: 4 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.09758, allocations: 0 / 360 MB, free: 11.55 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.0004601/0.09804, allocations: 383.3 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.09809, allocations: 8.031 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.09813, allocations: 38.75 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.09829, allocations: 16.83 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.09848, allocations: 199.7 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.0985, allocations: 4.125 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.09852, allocations: 8 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.09879, allocations: 109 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.09881, allocations: 0 / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.09883, allocations: 0 / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.09884, allocations: 4 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.09892, allocations: 19.92 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.09924, allocations: 265.7 kB / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.09934, allocations: 49.14 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.0994, allocations: 25.78 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.09943, allocations: 4 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.09946, allocations: 30.56 kB / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.09946, allocations: 0 / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.0997, allocations: 69.52 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.09976, allocations: 81.36 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.09989, allocations: 153.7 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.09991, allocations: 25.7 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.09996, allocations: 84.14 kB / 361.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.09999, allocations: 11.89 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1, allocations: 17.72 kB / 361.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.1001, allocations: 314.8 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.1002, allocations: 7.984 kB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.1002, allocations: 25.72 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.1003, allocations: 29.64 kB / 362 MB, free: 9.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1003, allocations: 3.938 kB / 362 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.1005, allocations: 69.45 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1005, allocations: 8.125 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1005, allocations: 0 / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1005, allocations: 0 / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.1006, allocations: 4 kB / 362 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1006, allocations: 7.938 kB / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.1006, allocations: 0 / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1006, allocations: 3.984 kB / 362.1 MB, free: 9.242 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 7.729e-05/0.1007, allocations: 121.8 kB / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1008, allocations: 33.61 kB / 362.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.1008, allocations: 19.89 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1008, allocations: 0 / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1009, allocations: 7.938 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1009, allocations: 3.938 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.101, allocations: 165.7 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.101, allocations: 0 / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.1011, allocations: 8 kB / 362.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1011, allocations: 0 / 362.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1011, allocations: 3.984 kB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1011, allocations: 0 / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1011, allocations: 7.938 kB / 362.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1013, allocations: 156.3 kB / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1014, allocations: 92.98 kB / 362.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1014, allocations: 8 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1014, allocations: 3.984 kB / 362.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.1015, allocations: 7.969 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1015, allocations: 7.938 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1016, allocations: 110.6 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1016, allocations: 0 / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1018, allocations: 4 kB / 362.8 MB, free: 8.391 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.0003907/0.1022, allocations: 0.6898 MB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1023, allocations: 27.92 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1024, allocations: 0 / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.1024, allocations: 4 kB / 363.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1028, allocations: 27.02 kB / 363.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1041, allocations: 1.335 MB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1043, allocations: 0.6885 MB / 365.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.1044, allocations: 4 kB / 365.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1044, allocations: 15.44 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1044, allocations: 0 / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.121, allocations: 1.602 MB / 367.2 MB, free: 3.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.219, allocations: 6.062 kB / 367.2 MB, free: 3.949 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches